Author: bugman Date: Tue Dec 28 10:32:37 2010 New Revision: 11985 URL: http://svn.gna.org/viewcvs/relax?rev=11985&view=rev Log: The about window style is now a class variable, so the model-free window now has a border. Modified: branches/bieri_gui/gui_bieri/about.py branches/bieri_gui/gui_bieri/analyses/auto_model_free.py Modified: branches/bieri_gui/gui_bieri/about.py URL: http://svn.gna.org/viewcvs/relax/branches/bieri_gui/gui_bieri/about.py?rev=11985&r1=11984&r2=11985&view=diff ============================================================================== --- branches/bieri_gui/gui_bieri/about.py (original) +++ branches/bieri_gui/gui_bieri/about.py Tue Dec 28 10:32:37 2010 @@ -50,14 +50,14 @@ # Spacer size (px). border = 0 + # Window styles. + style = wx.BORDER_NONE | wx.STAY_ON_TOP + def __init__(self, parent=None, id=-1, title=''): """Build the dialog.""" - # Change the dialog style. - style = wx.BORDER_NONE | wx.STAY_ON_TOP - # Execute the base class __init__() method. - super(About_base, self).__init__(parent=parent, id=id, title=title, style=style) + super(About_base, self).__init__(parent=parent, id=id, title=title, style=self.style) # Create a scrolled window. self.window = wx.ScrolledWindow(self, -1) Modified: branches/bieri_gui/gui_bieri/analyses/auto_model_free.py URL: http://svn.gna.org/viewcvs/relax/branches/bieri_gui/gui_bieri/analyses/auto_model_free.py?rev=11985&r1=11984&r2=11985&view=diff ============================================================================== --- branches/bieri_gui/gui_bieri/analyses/auto_model_free.py (original) +++ branches/bieri_gui/gui_bieri/analyses/auto_model_free.py Tue Dec 28 10:32:37 2010 @@ -68,6 +68,9 @@ # Spacer size (px). border = 10 + + # Window style. + style = wx.DEFAULT_DIALOG_STYLE def __init__(self, parent): """Set up the user function class."""