From acd36adf0b3422aab8e49d030902abbd9a1d015a Mon Sep 17 00:00:00 2001 From: smatz Date: Sat, 17 May 2008 16:59:12 +0000 Subject: [PATCH] (svn r13143) -Fix (r13142): the Build Waypoint window wasn't resized when it was opened --- src/rail_gui.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/rail_gui.cpp b/src/rail_gui.cpp index 5c819742a9..4db21bdd36 100644 --- a/src/rail_gui.cpp +++ b/src/rail_gui.cpp @@ -1473,6 +1473,7 @@ public: { this->hscroll.cap = 5; this->hscroll.count = _waypoint_count; + this->FindWindowPlacementAndResize(desc); }; virtual void OnPaint()