mailr26548 - /trunk/gui/wizards/wiz_objects.py


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by edward on November 12, 2014 - 17:54:
Author: bugman
Date: Wed Nov 12 17:54:31 2014
New Revision: 26548

URL: http://svn.gna.org/viewcvs/relax?rev=26548&view=rev
Log:
Converted all of the GUI wizard button IDs to -1, as they are currently 
unused.

This should conserve wx IDs, especially in the test suite.


Modified:
    trunk/gui/wizards/wiz_objects.py

Modified: trunk/gui/wizards/wiz_objects.py
URL: 
http://svn.gna.org/viewcvs/relax/trunk/gui/wizards/wiz_objects.py?rev=26548&r1=26547&r2=26548&view=diff
==============================================================================
--- trunk/gui/wizards/wiz_objects.py    (original)
+++ trunk/gui/wizards/wiz_objects.py    Wed Nov 12 17:54:31 2014
@@ -448,12 +448,12 @@
                                   'cancel': None})
 
             # Initialise a set of unique button IDs.
-            self._button_ids.append({'back': wx.NewId(),
-                                     'apply': wx.NewId(),
-                                     'next': wx.NewId(),
-                                     'ok': wx.NewId(),
-                                     'finish': wx.NewId(),
-                                     'cancel': wx.NewId()})
+            self._button_ids.append({'back': -1,
+                                     'apply': -1,
+                                     'next': -1,
+                                     'ok': -1,
+                                     'finish': -1,
+                                     'cancel': -1})
 
             # Execute on next by default.
             self._exec_on_next.append(True)




Related Messages


Powered by MHonArc, Updated Wed Nov 12 18:00:02 2014