X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3066bdd62a489797b28432863ce7e0a014aaf867..0ffb2aa6e47721eebc485931efaad028b51b0565:/src/generic/scrlwing.cpp?ds=sidebyside diff --git a/src/generic/scrlwing.cpp b/src/generic/scrlwing.cpp index 03165ffd11..deea726fb6 100644 --- a/src/generic/scrlwing.cpp +++ b/src/generic/scrlwing.cpp @@ -1243,10 +1243,8 @@ void wxGenericScrolledWindow::DoSetVirtualSize(int x, int y) wxPanel::DoSetVirtualSize( x, y ); AdjustScrollbars(); -#if wxUSE_CONSTRAINTS if (GetAutoLayout()) Layout(); -#endif } void wxGenericScrolledWindow::OnPaint(wxPaintEvent& event)