fix InsertSeparator() (patch 420987)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9981 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2001-05-03 14:41:24 +00:00
parent 3ba55e664d
commit 4726948f8e
2 changed files with 2 additions and 2 deletions

View 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;

View 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;