]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/scrlwing.cpp
restored defaults in switchs removed in the last commit
[wxWidgets.git] / src / generic / scrlwing.cpp
index 03165ffd11b2f1055bef7ec4edf99c872d44d07b..deea726fb60226b6919e86b0dd9274b56939e680 100644 (file)
@@ -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)