Skip to content

Commit

Permalink
wxGUI: fix saving and setting display position in workspace for multi…
Browse files Browse the repository at this point in the history
…ple window layout (#2321)
  • Loading branch information
petrasovaa committed Apr 26, 2022
1 parent 7e2a63f commit 67e5157
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions gui/wxpython/gui_core/mapdisp.py
Original file line number Diff line number Diff line change
Expand Up @@ -857,3 +857,9 @@ def BindToFrame(self, *args):

def Destroy(self):
self.GetParent().Destroy()

def GetPosition(self):
return self.GetParent().GetPosition()

def SetPosition(self, pt):
self.GetParent().SetPosition(pt)

0 comments on commit 67e5157

Please sign in to comment.