Browse Source

use 'Close' button instead of 'Cancel' (merge from devbr6, https://trac.osgeo.org/grass/changeset/33611)

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@33612 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 16 years ago
parent
commit
09639ce31e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      gui/wxpython/gui_modules/menuform.py

+ 1 - 1
gui/wxpython/gui_modules/menuform.py

@@ -638,7 +638,7 @@ class mainFrame(wx.Frame):
         # buttons
         # buttons
         btnsizer = wx.BoxSizer(orient=wx.HORIZONTAL)
         btnsizer = wx.BoxSizer(orient=wx.HORIZONTAL)
         # cancel
         # 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"))
         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)
         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)
         self.btn_cancel.Bind(wx.EVT_BUTTON, self.OnCancel)