X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3066bdd62a489797b28432863ce7e0a014aaf867..92dda0f7a31fdfeed083cd285b2900e6e9a83a0b:/src/generic/scrlwing.cpp 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)