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:
Vadim Zeitlin
2007-03-18 23:57:20 +00:00
parent 2a015b8917
commit 07d02e9ee0
13 changed files with 46 additions and 30 deletions

View File

@@ -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()