tentative fix for BestSize problems (non-native toolbar)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35575 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor 2005-09-18 19:13:27 +00:00
parent 363f7643a6
commit b13095df45

View File

@ -649,6 +649,13 @@ void wxToolBar::DoGetSize( int *width, int *height ) const
wxToolBarBase::DoGetSize( width, height );
}
wxSize wxToolBar::DoGetBestSize() const
{
int width , height ;
DoGetSize( &width , &height ) ;
return wxSize( width , height ) ;
}
void wxToolBar::SetWindowStyleFlag( long style )
{
wxToolBarBase::SetWindowStyleFlag( style );