Author: bugman Date: Mon Sep 19 16:46:38 2011 New Revision: 14694 URL: http://svn.gna.org/viewcvs/relax?rev=14694&view=rev Log: The spin viewer window is now properly maximised on MS Windows. Modified: 1.3/gui/spin_viewer/frame.py Modified: 1.3/gui/spin_viewer/frame.py URL: http://svn.gna.org/viewcvs/relax/1.3/gui/spin_viewer/frame.py?rev=14694&r1=14693&r2=14694&view=diff ============================================================================== --- 1.3/gui/spin_viewer/frame.py (original) +++ 1.3/gui/spin_viewer/frame.py Mon Sep 19 16:46:38 2011 @@ -56,6 +56,10 @@ kwds["style"] = wx.DEFAULT_FRAME_STYLE | wx.MAXIMIZE wx.Frame.__init__(self, *args, **kwds) + # Force the main window to start maximised (needed for MS Windows). + if not status.debug: + self.Maximize() + # Set up the window icon. self.SetIcons(relax_icons)