mailr12933 - /1.3/gui/relax_gui.py


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

Header


Content

Posted by edward on June 09, 2011 - 16:32:
Author: bugman
Date: Thu Jun  9 16:32:40 2011
New Revision: 12933

URL: http://svn.gna.org/viewcvs/relax?rev=12933&view=rev
Log:
With debugging turned on, the size of the GUI main frame can be changed.


Modified:
    1.3/gui/relax_gui.py

Modified: 1.3/gui/relax_gui.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/gui/relax_gui.py?rev=12933&r1=12932&r2=12933&view=diff
==============================================================================
--- 1.3/gui/relax_gui.py (original)
+++ 1.3/gui/relax_gui.py Thu Jun  9 16:32:40 2011
@@ -81,6 +81,8 @@
 
         # The window style.
         style = wx.CLOSE_BOX | wx.MINIMIZE_BOX | wx.SYSTEM_MENU | wx.CAPTION 
| wx.CLIP_CHILDREN
+        if status.debug:
+            style = wx.DEFAULT_FRAME_STYLE
 
         # Execute the base class __init__ method.
         super(Main, self).__init__(parent=parent, id=id, title=title, 
style=style)




Related Messages


Powered by MHonArc, Updated Thu Jun 09 17:20:02 2011