repaired recently broken framelayout

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2543 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
J. Russell Smyth
1999-05-23 18:54:27 +00:00
parent 86fdd27b45
commit e459f82d01
3 changed files with 5 additions and 4 deletions

View File

@@ -342,7 +342,7 @@ void wxDynamicToolBar::SizeToolWindows()
}
}
void wxDynamicToolBar::Layout()
bool wxDynamicToolBar::Layout()
{
if ( !mpLayoutMan ) mpLayoutMan = CreateDefaulLayout();
@@ -359,6 +359,7 @@ void wxDynamicToolBar::Layout()
mpLayoutMan->Layout( wndDim, result, items, mVertGap, mHorizGap );;
SizeToolWindows();
return TRUE;
}
void wxDynamicToolBar::GetPreferredDim( const wxSize& givenDim, wxSize& prefDim )