[GRASS-SVN] r40280 - grass/trunk/gui/wxpython

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Jan 6 08:39:25 EST 2010


Author: martinl
Date: 2010-01-06 08:39:24 -0500 (Wed, 06 Jan 2010)
New Revision: 40280

Modified:
   grass/trunk/gui/wxpython/wxgui.py
Log:
wxGUI: avoid WIDGET_REALIZED_FOR_EVENT


Modified: grass/trunk/gui/wxpython/wxgui.py
===================================================================
--- grass/trunk/gui/wxpython/wxgui.py	2010-01-06 11:06:18 UTC (rev 40279)
+++ grass/trunk/gui/wxpython/wxgui.py	2010-01-06 13:39:24 UTC (rev 40280)
@@ -149,7 +149,6 @@
         self._auimgr.Update()
 
         wx.CallAfter(self.notebook.SetSelection, 0)
-        wx.CallAfter(self.goutput.cmd_prompt.SetFocus)
         
         # use default window layout ?
         if UserSettings.Get(group='general', key='defWindowPos', subkey='enabled') is True:
@@ -1454,7 +1453,7 @@
     def OnKeyDown(self, event):
         """!Key pressed"""
         kc = event.GetKeyCode()
-        print kc
+        
         if event.ControlDown():
             if kc == wx.WXK_TAB:
                 # switch layer list / command output



More information about the grass-commit mailing list