[Thuban-commits] r2739 - in trunk/thuban: . Thuban/UI
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Wed Mar 14 00:08:31 CET 2007
Author: dpinte
Date: 2007-03-14 00:08:30 +0100 (Wed, 14 Mar 2007)
New Revision: 2739
Modified:
trunk/thuban/ChangeLog
trunk/thuban/Thuban/UI/classgen.py
Log:
2007-03-14 Didrik Pinte <dpinte at itae.be>
* Thuban/UI/classgen.py: bugfix - Close button now really closes the
dialog window (closes #309)
Modified: trunk/thuban/ChangeLog
===================================================================
--- trunk/thuban/ChangeLog 2007-03-13 23:05:59 UTC (rev 2738)
+++ trunk/thuban/ChangeLog 2007-03-13 23:08:30 UTC (rev 2739)
@@ -1,3 +1,8 @@
+2007-03-14 Didrik Pinte <dpinte at itae.be>
+
+ * Thuban/UI/classgen.py: bugfix - Close button now really closes the
+ dialog window (closes #309)
+
2007-03-13 Bernhard Reiter <bernhard at intevation.de>
More release preparations: Translation string updated. Release date
Modified: trunk/thuban/Thuban/UI/classgen.py
===================================================================
--- trunk/thuban/Thuban/UI/classgen.py 2007-03-13 23:05:59 UTC (rev 2738)
+++ trunk/thuban/Thuban/UI/classgen.py 2007-03-13 23:08:30 UTC (rev 2739)
@@ -87,8 +87,8 @@
# we need to create genButton first because when we create the
# panels they will call AllowGenerate() which uses genButton.
#
- self.genButton = wx.Button(self, wx.ID_OK, _("Generate"))
- self.cancelButton = wx.Button(self, wx.ID_CANCEL, _("Close"))
+ self.genButton = wx.Button(self, wx.NewId(), _("Generate"))
+ self.cancelButton = wx.Button(self, wx.NewId(), _("Close"))
self.genButton.SetDefault()
self.genChoice = wx.Choice(self, ID_CLASSGEN_GENCOMBO)
More information about the Thuban-commits
mailing list