X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6ca41e57f48db4c1a2de7ae67c7e4b655d9809af..e487524e492809638b7e335937c41fd432458a54:/src/gtk1/tbargtk.cpp diff --git a/src/gtk1/tbargtk.cpp b/src/gtk1/tbargtk.cpp index 27f465108c..d8323989a0 100644 --- a/src/gtk1/tbargtk.cpp +++ b/src/gtk1/tbargtk.cpp @@ -118,6 +118,8 @@ bool wxToolBar::Create( wxWindow *parent, wxWindowID id, gtk_toolbar_set_tooltips( GTK_TOOLBAR(m_toolbar), TRUE ); + gtk_toolbar_append_space( m_toolbar ); + m_parent->AddChild( this ); (m_parent->m_insertCallback)( m_parent, this ); @@ -250,7 +252,7 @@ void wxToolBar::Realize() node = node->Next(); } - m_height += 10; + m_height += 12; } void wxToolBar::EnableTool(int toolIndex, bool enable) @@ -336,7 +338,7 @@ bool wxToolBar::GetToolEnabled(int toolIndex) const void wxToolBar::SetMargins( int WXUNUSED(x), int WXUNUSED(y) ) { - wxFAIL_MSG( "wxToolBar::SetMargins not implemented" ); +// wxFAIL_MSG( "wxToolBar::SetMargins not implemented" ); } void wxToolBar::SetToolPacking( int WXUNUSED(packing) )