瀏覽代碼

fix for obscure bug: wxEvtHandler::ProcessPendingEvents(): Please call wxApp::ProcessPendingEvents() instead

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@52390 15284696-431f-4ddb-bdfa-cd5b030d7da7
Markus Metz 13 年之前
父節點
當前提交
69e7328c95
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      gui/wxpython/gui_core/goutput.py

+ 1 - 1
gui/wxpython/gui_core/goutput.py

@@ -972,7 +972,7 @@ class GMConsole(wx.SplitterWindow):
                 dialog.Close()
         
     def OnProcessPendingOutputWindowEvents(self, event):
-        self.ProcessPendingEvents()
+        wx.GetApp().ProcessPendingEvents()
 
     def ResetFocus(self):
         """!Reset focus"""