diff --git a/gui/wxpython/gui_core/mapdisp.py b/gui/wxpython/gui_core/mapdisp.py index 31f6fd8cd9d..cb8eb4f5325 100644 --- a/gui/wxpython/gui_core/mapdisp.py +++ b/gui/wxpython/gui_core/mapdisp.py @@ -869,3 +869,6 @@ def GetSize(self): def SetSize(self, *args): self.GetParent().SetSize(*args) + + def Close(self): + self.GetParent().Close()