]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/src/deprecated/tbarsmpl.cpp
Typos fixed and further clarification of the Python situation on Panther
[wxWidgets.git] / contrib / src / deprecated / tbarsmpl.cpp
index 4bac4dfeb531c88051724321be63386d31a2fb0b..b33814360c69e330f96520f7e25ca197ef8b7bc2 100644 (file)
@@ -398,10 +398,8 @@ void wxToolBarSimple::OnPaint (wxPaintEvent& WXUNUSED(event))
 
 void wxToolBarSimple::OnSize (wxSizeEvent& WXUNUSED(event))
 {
-#if wxUSE_CONSTRAINTS
     if (GetAutoLayout())
         Layout();
-#endif
 
     AdjustScrollbars();
 }