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:
@@ -649,6 +649,13 @@ void wxToolBar::DoGetSize( int *width, int *height ) const
|
|||||||
wxToolBarBase::DoGetSize( width, height );
|
wxToolBarBase::DoGetSize( width, height );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
wxSize wxToolBar::DoGetBestSize() const
|
||||||
|
{
|
||||||
|
int width , height ;
|
||||||
|
DoGetSize( &width , &height ) ;
|
||||||
|
return wxSize( width , height ) ;
|
||||||
|
}
|
||||||
|
|
||||||
void wxToolBar::SetWindowStyleFlag( long style )
|
void wxToolBar::SetWindowStyleFlag( long style )
|
||||||
{
|
{
|
||||||
wxToolBarBase::SetWindowStyleFlag( style );
|
wxToolBarBase::SetWindowStyleFlag( style );
|
||||||
|
Reference in New Issue
Block a user