mailr13535 - /branches/gui_testing/gui/wizard.py


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

Header


Content

Posted by edward on July 08, 2011 - 14:23:
Author: bugman
Date: Fri Jul  8 14:23:40 2011
New Revision: 13535

URL: http://svn.gna.org/viewcvs/relax?rev=13535&view=rev
Log:
Reverted r13466 as a different approach will be used.

The command used was:
svn merge -r13466:13465 .

.....
  r13466 | bugman | 2011-07-07 09:33:58 +0200 (Thu, 07 Jul 2011) | 3 lines
  Changed paths:
     M /branches/gui_testing/gui/wizard.py
  
  The wizard is now a frame rather than dialog, as this gives better focus 
properties.
.....


Modified:
    branches/gui_testing/gui/wizard.py

Modified: branches/gui_testing/gui/wizard.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/gui_testing/gui/wizard.py?rev=13535&r1=13534&r2=13535&view=diff
==============================================================================
--- branches/gui_testing/gui/wizard.py (original)
+++ branches/gui_testing/gui/wizard.py Fri Jul  8 14:23:40 2011
@@ -905,7 +905,7 @@
 
 
 
-class Wiz_window(wx.Frame):
+class Wiz_window(wx.Dialog):
     """The wizard."""
 
     # Some class variables.
@@ -924,7 +924,7 @@
         self._border = border
 
         # Execute the base class method.
-        wx.Frame.__init__(self, None, id=-1, title=title, style=style)
+        wx.Dialog.__init__(self, None, id=-1, title=title, style=style)
 
         # The sizer for the dialog.
         sizer = wx.BoxSizer(wx.VERTICAL)
@@ -1217,7 +1217,10 @@
         self._display_page(0)
 
         # Show the wizard.
-        self.Show()
+        self.ShowModal()
+
+        # Destroy the wizard.
+        self.Destroy()
 
         # Return the status.
         return self._status




Related Messages


Powered by MHonArc, Updated Fri Jul 08 15:00:02 2011