X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2ccf68ce7c9fc6ff8f5e539e94f8103dfcae7896..07cf98cb8eb7625eeffc95e407a9fa1ad863b451:/src/common/tbarbase.cpp diff --git a/src/common/tbarbase.cpp b/src/common/tbarbase.cpp index 0ddb230f4b..98eed8bbd5 100644 --- a/src/common/tbarbase.cpp +++ b/src/common/tbarbase.cpp @@ -96,6 +96,7 @@ wxToolBarTool::wxToolBarTool(wxControl *control) { m_toolStyle = wxTOOL_STYLE_CONTROL; m_control = control; + m_index = control->GetId(); } wxToolBarTool::~wxToolBarTool()