diff --git a/src/common/tbarbase.cpp b/src/common/tbarbase.cpp index a11a22d3a2..0ddb230f4b 100644 --- a/src/common/tbarbase.cpp +++ b/src/common/tbarbase.cpp @@ -92,7 +92,7 @@ wxToolBarTool::wxToolBarTool(int theIndex, m_longHelpString = helpS2; } -wxToolBarTool::wxToolBarTool(int index, wxControl *control) +wxToolBarTool::wxToolBarTool(wxControl *control) { m_toolStyle = wxTOOL_STYLE_CONTROL; m_control = control;