(svn r13179) -Fix (r13173): r13178 applies to the main toolbar in Scenario Editor, too
authorsmatz
Mon, 19 May 2008 02:01:44 +0000
changeset 10635 2230c5423279
parent 10634 c455e2ec8cf6
child 10636 4ce88e802272
(svn r13179) -Fix (r13173): r13178 applies to the main toolbar in Scenario Editor, too
src/toolbar_gui.cpp
--- a/src/toolbar_gui.cpp	Mon May 19 01:57:30 2008 +0000
+++ b/src/toolbar_gui.cpp	Mon May 19 02:01:44 2008 +0000
@@ -899,9 +899,9 @@
 	{
 		CLRBITS(this->flags4, WF_WHITE_BORDER_MASK);
 
+		this->FindWindowPlacementAndResize(desc);
 		PositionMainToolbar(this);
 		DoZoomInOutWindow(ZOOM_NONE, this);
-		this->FindWindowPlacementAndResize(desc);
 	}
 
 	virtual void OnPaint()