[Scummvm-cvs-logs] SF.net SVN: scummvm:[46374] tools/branches/gsoc2009-gui/gui/main.cpp
fingolfin at users.sourceforge.net
fingolfin at users.sourceforge.net
Mon Dec 14 01:09:10 CET 2009
Revision: 46374
http://scummvm.svn.sourceforge.net/scummvm/?rev=46374&view=rev
Author: fingolfin
Date: 2009-12-14 00:09:10 +0000 (Mon, 14 Dec 2009)
Log Message:
-----------
TOOLS: Center GUI windows on OS X
Modified Paths:
--------------
tools/branches/gsoc2009-gui/gui/main.cpp
Modified: tools/branches/gsoc2009-gui/gui/main.cpp
===================================================================
--- tools/branches/gsoc2009-gui/gui/main.cpp 2009-12-13 23:46:09 UTC (rev 46373)
+++ tools/branches/gsoc2009-gui/gui/main.cpp 2009-12-14 00:09:10 UTC (rev 46374)
@@ -69,6 +69,7 @@
ScummToolsFrame *frame = new ScummToolsFrame(GetAppName(), wxDefaultPosition, wxSize(600,420));
#ifdef __WXMAC__ // Menu bar looks ugly when it's part of the window, on OSX it's not
frame->CreateMenuBar();
+ frame->CentreOnScreen();
#endif
frame->SetMinSize(wxSize(600, 420));
SetTopWindow(frame);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list