]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/tbargtk.cpp
compilation warning fix
[wxWidgets.git] / src / gtk / tbargtk.cpp
index 8753cade8d270b4e40e4d13f0bd6a62144e9a79a..b78ce9d916df3e24127b852c73763c2b784f4536 100644 (file)
@@ -354,7 +354,7 @@ bool wxToolBar::DoInsertTool(size_t pos, wxToolBarToolBase *toolBase)
             break;
 
         case wxTOOL_STYLE_SEPARATOR:
-            gtk_toolbar_append_space( m_toolbar );
+            gtk_toolbar_insert_space( m_toolbar, pos );
 
             // skip the rest
             return TRUE;