[GRASS-SVN] r33612 - grass/trunk/gui/wxpython/gui_modules

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Sep 30 05:28:58 EDT 2008


Author: martinl
Date: 2008-09-30 05:28:58 -0400 (Tue, 30 Sep 2008)
New Revision: 33612

Modified:
   grass/trunk/gui/wxpython/gui_modules/menuform.py
Log:
use 'Close' button instead of 'Cancel' (merge from devbr6, r33611)


Modified: grass/trunk/gui/wxpython/gui_modules/menuform.py
===================================================================
--- grass/trunk/gui/wxpython/gui_modules/menuform.py	2008-09-30 09:27:24 UTC (rev 33611)
+++ grass/trunk/gui/wxpython/gui_modules/menuform.py	2008-09-30 09:28:58 UTC (rev 33612)
@@ -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