- if ( !MSWCreateControl(TOOLBARCLASSNAME, _T(""), pos, size) )
+ if ( !MSWCreateControl(TOOLBARCLASSNAME, wxEmptyString, pos, size) )
wxToolBarToolBase *tool = node->GetData();
// don't add separators to the vertical toolbar - looks ugly
wxToolBarToolBase *tool = node->GetData();
// don't add separators to the vertical toolbar - looks ugly
// logic (TB_AUTOSIZE) with our horizontal toolbars and other hacks
RECT r;
if ( ::SendMessage(GetHwnd(), TB_GETITEMRECT, 0, (LPARAM)&r) )
// logic (TB_AUTOSIZE) with our horizontal toolbars and other hacks
RECT r;
if ( ::SendMessage(GetHwnd(), TB_GETITEMRECT, 0, (LPARAM)&r) )