]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/tbarbase.cpp
Update for bitmap, image on scaling, transparancy,
[wxWidgets.git] / src / common / tbarbase.cpp
index dedda6cf6b9a9e6966d79da50b7b8e6370a5b67d..d50620d33fee2d59235e1ee81607acd09d4f0e2e 100644 (file)
@@ -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)