git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18672
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
// common part of all ctors
void Init();
// common part of all ctors
void Init();
- // create the toolbar control
- bool MSWCreateToolbar(const wxPoint& pos, const wxSize& size, long style);
+ // create the native toolbar control
+ bool MSWCreateToolbar(const wxPoint& pos, const wxSize& size);
// recreate the control completely
void Recreate();
// recreate the control completely
void Recreate();
return FALSE;
// MSW-specific initialisation
return FALSE;
// MSW-specific initialisation
- if ( !MSWCreateToolbar(pos, size, style) )
+ if ( !MSWCreateToolbar(pos, size) )
return FALSE;
// set up the colors and fonts
return FALSE;
// set up the colors and fonts
-bool wxToolBar::MSWCreateToolbar(const wxPoint& pos,
- const wxSize& size,
- long style)
+bool wxToolBar::MSWCreateToolbar(const wxPoint& pos, const wxSize& size)
- if ( !MSWCreateControl(TOOLBARCLASSNAME, _T(""), pos, size, style) )
+ if ( !MSWCreateControl(TOOLBARCLASSNAME, _T(""), pos, size) )
return FALSE;
// toolbar-specific post initialisation
return FALSE;
// toolbar-specific post initialisation
- if ( !MSWCreateToolbar(pos, size, GetWindowStyle()) )
+ if ( !MSWCreateToolbar(pos, size) )
{
// what can we do?
wxFAIL_MSG( _T("recreating the toolbar failed") );
{
// what can we do?
wxFAIL_MSG( _T("recreating the toolbar failed") );