[GRASS-SVN] r51743 - grass/branches/develbranch_6/gui/wxpython/gui_core

svn_grass at osgeo.org svn_grass at osgeo.org
Fri May 25 09:35:37 EDT 2012


Author: annakrat
Date: 2012-05-25 06:35:35 -0700 (Fri, 25 May 2012)
New Revision: 51743

Modified:
   grass/branches/develbranch_6/gui/wxpython/gui_core/forms.py
Log:
wxGUI: removed close tab button in command dialogs notebook (merged from trunk r51739)

Modified: grass/branches/develbranch_6/gui/wxpython/gui_core/forms.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/gui_core/forms.py	2012-05-25 13:20:28 UTC (rev 51742)
+++ grass/branches/develbranch_6/gui/wxpython/gui_core/forms.py	2012-05-25 13:35:35 UTC (rev 51743)
@@ -764,7 +764,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