Fixed bug [ 754596 ] wxUSE_CONSTRAINTS 0 breaks AutoLayout() with sizers

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23857 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2003-09-23 17:00:17 +00:00
parent 641a7c45b5
commit 987263fe19
3 changed files with 1 additions and 5 deletions

View 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();
}