Skip to content

Commit

Permalink
wxGUI: fix setting display size from workspace in multi-window mode (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
petrasovaa committed Aug 9, 2022
1 parent b274a68 commit 0532d65
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 @@ -863,3 +863,9 @@ def GetPosition(self):

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

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

def SetSize(self, *args):
self.GetParent().SetSize(*args)

0 comments on commit 0532d65

Please sign in to comment.