[GRASS-SVN] r40281 - grass/branches/develbranch_6/gui/wxpython

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Jan 6 08:42:54 EST 2010


Author: martinl
Date: 2010-01-06 08:42:54 -0500 (Wed, 06 Jan 2010)
New Revision: 40281

Modified:
   grass/branches/develbranch_6/gui/wxpython/wxgui.py
Log:
wxGUI: avoid WIDGET_REALIZED_FOR_EVENT
       (merge r40280 from trunk)


Modified: grass/branches/develbranch_6/gui/wxpython/wxgui.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/wxgui.py	2010-01-06 13:39:24 UTC (rev 40280)
+++ grass/branches/develbranch_6/gui/wxpython/wxgui.py	2010-01-06 13:42:54 UTC (rev 40281)
@@ -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:
@@ -1507,7 +1506,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