]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/scrolwin.cpp
Don't fail assertion about image size mismatch if the size hasn't been
[wxWidgets.git] / src / gtk1 / scrolwin.cpp
index fd31b4e024c25b015742fc1c5eff5604422661b3..2125b4d388cb00c16bf5a547e92ae9512bb9c82a 100644 (file)
@@ -325,10 +325,8 @@ void wxScrolledWindow::DoSetVirtualSize( int x, int y )
     wxPanel::DoSetVirtualSize( x, y );
     AdjustScrollbars();
 
-#if wxUSE_CONSTRAINTS
     if (GetAutoLayout())
         Layout();
-#endif
 }
 
 /*