[GRASS-SVN] r31227 - grass/trunk/gui/wxpython/gui_modules
svn_grass at osgeo.org
svn_grass at osgeo.org
Sat May 3 06:16:05 EDT 2008
Author: martinl
Date: 2008-05-03 06:16:05 -0400 (Sat, 03 May 2008)
New Revision: 31227
Modified:
grass/trunk/gui/wxpython/gui_modules/menuform.py
Log:
wxGUI (menuform): do not use wx.CallAfter() to select first tab [sync'ed with develbr6]
Modified: grass/trunk/gui/wxpython/gui_modules/menuform.py
===================================================================
--- grass/trunk/gui/wxpython/gui_modules/menuform.py 2008-05-03 10:15:26 UTC (rev 31226)
+++ grass/trunk/gui/wxpython/gui_modules/menuform.py 2008-05-03 10:16:05 UTC (rev 31227)
@@ -887,7 +887,8 @@
self.notebook.AddPage(self.manual_tab, text=_("Manual"))
self.manual_tab_id = self.notebook.GetPageCount() - 1
- wx.CallAfter(self.notebook.SetSelection, 0)
+ self.notebook.SetSelection(0)
+
panelsizer.Add(item=self.notebook, proportion=1, flag=wx.EXPAND )
#
More information about the grass-commit
mailing list