瀏覽代碼

wxGUI: uninitialize aui manager when destroying map display to fix https://trac.osgeo.org/grass/ticket/3237

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@70296 15284696-431f-4ddb-bdfa-cd5b030d7da7
Anna Petrášová 8 年之前
父節點
當前提交
012ef1fda7
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      gui/wxpython/mapdisp/frame.py

+ 1 - 0
gui/wxpython/mapdisp/frame.py

@@ -855,6 +855,7 @@ class MapFrame(SingleMapFrame):
             if pgnum > -1:
             if pgnum > -1:
                 self.layerbook.RemovePage(pgnum)
                 self.layerbook.RemovePage(pgnum)
         Debug.msg(2, "MapFrame.OnCloseWindow(): function ends")
         Debug.msg(2, "MapFrame.OnCloseWindow(): function ends")
+        self._mgr.UnInit()
         self.Destroy()
         self.Destroy()
 
 
     def Query(self, x, y):
     def Query(self, x, y):