[GRASS-SVN] r31226 -
grass/branches/develbranch_6/gui/wxpython/gui_modules
svn_grass at osgeo.org
svn_grass at osgeo.org
Sat May 3 06:15:27 EDT 2008
Author: martinl
Date: 2008-05-03 06:15:26 -0400 (Sat, 03 May 2008)
New Revision: 31226
Modified:
grass/branches/develbranch_6/gui/wxpython/gui_modules/menuform.py
Log:
wxGUI (menuform): do not use wx.CallAfter() to select first tab
Modified: grass/branches/develbranch_6/gui/wxpython/gui_modules/menuform.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/gui_modules/menuform.py 2008-05-03 09:56:47 UTC (rev 31225)
+++ grass/branches/develbranch_6/gui/wxpython/gui_modules/menuform.py 2008-05-03 10:15:26 UTC (rev 31226)
@@ -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