]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/scrlwing.cpp
restored old casts (there was a reason for them)
[wxWidgets.git] / 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)