Author: bugman Date: Thu Jul 7 09:33:58 2011 New Revision: 13466 URL: http://svn.gna.org/viewcvs/relax?rev=13466&view=rev Log: 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=13466&r1=13465&r2=13466&view=diff ============================================================================== --- branches/gui_testing/gui/wizard.py (original) +++ branches/gui_testing/gui/wizard.py Thu Jul 7 09:33:58 2011 @@ -832,7 +832,7 @@ -class Wiz_window(wx.Dialog): +class Wiz_window(wx.Frame): """The wizard.""" # Some class variables. @@ -851,7 +851,7 @@ self._border = border # Execute the base class method. - wx.Dialog.__init__(self, None, id=-1, title=title, style=style) + wx.Frame.__init__(self, None, id=-1, title=title, style=style) # The sizer for the dialog. sizer = wx.BoxSizer(wx.VERTICAL) @@ -1144,10 +1144,7 @@ self._display_page(0) # Show the wizard. - self.ShowModal() - - # Destroy the wizard. - self.Destroy() + self.Show() # Return the status. return self._status