Sfoglia il codice sorgente

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 12 anni fa
parent
commit
69e7328c95
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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"""