X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/47d67540a017101b3e46abe9ef0f55914d8de37e..4bc67cc550bcd9d5f93f88ae22a4f6ac7fafb5f7:/src/common/tbarbase.cpp?ds=inline diff --git a/src/common/tbarbase.cpp b/src/common/tbarbase.cpp index dedda6cf6b..d50620d33f 100644 --- a/src/common/tbarbase.cpp +++ b/src/common/tbarbase.cpp @@ -195,7 +195,7 @@ void wxToolBarBase::AddSeparator () { wxToolBarTool *tool = new wxToolBarTool; tool->m_toolStyle = wxTOOL_STYLE_SEPARATOR; - m_tools.Append(tool); + m_tools.Append(-1, tool); } void wxToolBarBase::ClearTools(void)