]> git.saurik.com Git - wxWidgets.git/commitdiff
restore Robin's code (reverted previous commit)
authorVadim Zeitlin <vadim@wxwidgets.org>
Sat, 16 Mar 2002 00:06:33 +0000 (00:06 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sat, 16 Mar 2002 00:06:33 +0000 (00:06 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14627 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/generic/scrlwing.cpp

index 43f061c2d676f4f07e676aa85ae59de323435f1f..1cef14d60fc59e3b85736d47f0ff7ede48be94a0 100644 (file)
@@ -1116,8 +1116,9 @@ bool wxGenericScrolledWindow::Layout()
         GetSizer()->SetDimension(x, y, w, h);
         return TRUE;
     }
-    else
-        return wxPanel::Layout();  // fall back to default for LayoutConstraints
+
+    // fall back to default for LayoutConstraints
+    return wxPanel::Layout();
 }
 
 void wxGenericScrolledWindow::OnPaint(wxPaintEvent& event)