X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/32e9da8bfaafe4f462f7473a7e11e3387847e121..650368d057896c5bf6b1f2294766e92b7dbb7f20:/src/gtk/tbargtk.cpp diff --git a/src/gtk/tbargtk.cpp b/src/gtk/tbargtk.cpp index 5af767a335..d8323989a0 100644 --- a/src/gtk/tbargtk.cpp +++ b/src/gtk/tbargtk.cpp @@ -118,6 +118,12 @@ 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 ); + PostCreation(); Show( TRUE ); @@ -246,7 +252,7 @@ void wxToolBar::Realize() node = node->Next(); } - m_height += 10; + m_height += 12; } void wxToolBar::EnableTool(int toolIndex, bool enable) @@ -332,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) )