X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7a9763046b9f7b99399d5538d204b3d8c03bbc2e..82ec1f703513f5a09edfea7403481c23fe7b4d1e:/src/gtk/tbargtk.cpp diff --git a/src/gtk/tbargtk.cpp b/src/gtk/tbargtk.cpp index f73ea91ec8..dd18e1d3a9 100644 --- a/src/gtk/tbargtk.cpp +++ b/src/gtk/tbargtk.cpp @@ -287,6 +287,8 @@ bool wxToolBar::Create( wxWindow *parent, return false; } + FixupStyle(); + m_toolbar = GTK_TOOLBAR( gtk_toolbar_new() ); GtkSetStyle(); @@ -632,8 +634,4 @@ wxToolBar::GetClassDefaultAttributes(wxWindowVariant WXUNUSED(variant)) return GetDefaultAttributesFromGTKWidget(gtk_toolbar_new); } -bool wxToolBar::IsVertical() -{ - return HasFlag(wxTB_LEFT) || HasFlag(wxTB_RIGHT); -} #endif // wxUSE_TOOLBAR_NATIVE