[GRASS-SVN] r33611 - grass/branches/develbranch_6/gui/wxpython/gui_modules

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Sep 30 05:27:24 EDT 2008


Author: martinl
Date: 2008-09-30 05:27:24 -0400 (Tue, 30 Sep 2008)
New Revision: 33611

Modified:
   grass/branches/develbranch_6/gui/wxpython/gui_modules/menuform.py
Log:
use 'Close' button instead of 'Cancel'

Modified: grass/branches/develbranch_6/gui/wxpython/gui_modules/menuform.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/gui_modules/menuform.py	2008-09-30 09:19:53 UTC (rev 33610)
+++ grass/branches/develbranch_6/gui/wxpython/gui_modules/menuform.py	2008-09-30 09:27:24 UTC (rev 33611)
@@ -638,7 +638,7 @@
         # buttons
         btnsizer = wx.BoxSizer(orient=wx.HORIZONTAL)
         # cancel
-        self.btn_cancel = wx.Button(parent=self.panel, id=wx.ID_CANCEL)
+        self.btn_cancel = wx.Button(parent=self.panel, id=wx.ID_CLOSE)
         self.btn_cancel.SetToolTipString(_("Cancel the command settings and ignore changes"))
         btnsizer.Add(item=self.btn_cancel, proportion=0, flag=wx.ALL | wx.ALIGN_CENTER, border=10)
         self.btn_cancel.Bind(wx.EVT_BUTTON, self.OnCancel)



More information about the grass-commit mailing list