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:
parent
3ba55e664d
commit
4726948f8e
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user