X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8a82c9ecc9a2cba9727b538c818ebdba243eacbc..3527f29c8769e09d796c547c0c309f8b86407012:/contrib/src/deprecated/tbarsmpl.cpp?ds=sidebyside diff --git a/contrib/src/deprecated/tbarsmpl.cpp b/contrib/src/deprecated/tbarsmpl.cpp index 4bac4dfeb5..b33814360c 100644 --- a/contrib/src/deprecated/tbarsmpl.cpp +++ b/contrib/src/deprecated/tbarsmpl.cpp @@ -398,10 +398,8 @@ void wxToolBarSimple::OnPaint (wxPaintEvent& WXUNUSED(event)) void wxToolBarSimple::OnSize (wxSizeEvent& WXUNUSED(event)) { -#if wxUSE_CONSTRAINTS if (GetAutoLayout()) Layout(); -#endif AdjustScrollbars(); }