}
m_shortHelpString = helpS1;
m_longHelpString = helpS2;
+ m_control = (wxControl*) NULL;
}
-wxToolBarTool::wxToolBarTool(int index, wxControl *control)
+wxToolBarTool::wxToolBarTool(wxControl *control)
{
m_toolStyle = wxTOOL_STYLE_CONTROL;
m_control = control;
+ m_index = control->GetId();
}
wxToolBarTool::~wxToolBarTool()