fixed all the other ports broken by controls labels in wxToolBar patch commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44906 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -97,8 +97,8 @@ public:
|
||||
Init();
|
||||
}
|
||||
|
||||
wxToolBarTool(wxToolBar *tbar, wxControl *control)
|
||||
: wxToolBarToolBase(tbar, control)
|
||||
wxToolBarTool(wxToolBar *tbar, wxControl *control, const wxString& label)
|
||||
: wxToolBarToolBase(tbar, control, label)
|
||||
{
|
||||
Init();
|
||||
}
|
||||
@@ -159,9 +159,10 @@ wxToolBarToolBase *wxToolBar::CreateTool(int id,
|
||||
}
|
||||
|
||||
|
||||
wxToolBarToolBase *wxToolBar::CreateTool(wxControl *control)
|
||||
wxToolBarToolBase *
|
||||
wxToolBar::CreateTool(wxControl *control, const wxString& label)
|
||||
{
|
||||
return new wxToolBarTool(this, control);
|
||||
return new wxToolBarTool(this, control, label);
|
||||
}
|
||||
|
||||
void wxToolBarTool::Init()
|
||||
|
Reference in New Issue
Block a user