[GRASS-SVN] r51739 - grass/trunk/gui/wxpython/gui_core

svn_grass at osgeo.org svn_grass at osgeo.org
Fri May 25 08:51:09 EDT 2012


Author: annakrat
Date: 2012-05-25 05:51:08 -0700 (Fri, 25 May 2012)
New Revision: 51739

Modified:
   grass/trunk/gui/wxpython/gui_core/forms.py
Log:
wxGUI: removed close tab button in command dialogs notebook

Modified: grass/trunk/gui/wxpython/gui_core/forms.py
===================================================================
--- grass/trunk/gui/wxpython/gui_core/forms.py	2012-05-25 12:08:37 UTC (rev 51738)
+++ grass/trunk/gui/wxpython/gui_core/forms.py	2012-05-25 12:51:08 UTC (rev 51739)
@@ -813,7 +813,7 @@
         panelsizer = wx.BoxSizer(orient = wx.VERTICAL)
 
         # Build notebook
-        self.notebook = GNotebook(self, style = globalvar.FNPageStyle)
+        self.notebook = GNotebook(self, style = globalvar.FNPageStyle | FN.FNB_NO_X_BUTTON )
         self.notebook.SetTabAreaColour(globalvar.FNPageColor)
         self.notebook.Bind(FN.EVT_FLATNOTEBOOK_PAGE_CHANGED, self.OnPageChange)
 



More information about the grass-commit mailing list