Author: bugman Date: Thu Sep 16 18:35:20 2010 New Revision: 11590 URL: http://svn.gna.org/viewcvs/relax?rev=11590&view=rev Log: Converted the reference window from a dialog to a proper frame. Modified: branches/bieri_gui/gui_bieri/references.py Modified: branches/bieri_gui/gui_bieri/references.py URL: http://svn.gna.org/viewcvs/relax/branches/bieri_gui/gui_bieri/references.py?rev=11590&r1=11589&r2=11590&view=diff ============================================================================== --- branches/bieri_gui/gui_bieri/references.py (original) +++ branches/bieri_gui/gui_bieri/references.py Thu Sep 16 18:35:20 2010 @@ -56,18 +56,18 @@ """ -class References(wx.Dialog): - """The references dialog.""" +class References(wx.Frame): + """The references window.""" def __init__(self, parent): - """Build the dialog. + """Build the window. @param parent: The parent wx object. @type parent: wx object """ - # Init the base class wx.Dialog. - super(References, self).__init__(parent, -1, "relax references", style=wx.DEFAULT_DIALOG_STYLE | wx.RESIZE_BORDER) + # Init the base class. + super(References, self).__init__(parent, -1, "relax references", style=wx.DEFAULT_FRAME_STYLE) # Set an initial window size. self.SetSize((800, 800))