X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/14f355c2b5c71fc7c3d680aea366582d2ac60f7b..db28c33ca268429840045ef81c17ee1459f4ec47:/src/gtk/statline.cpp?ds=sidebyside diff --git a/src/gtk/statline.cpp b/src/gtk/statline.cpp index d4299aa62e..3f95edd803 100644 --- a/src/gtk/statline.cpp +++ b/src/gtk/statline.cpp @@ -74,11 +74,16 @@ bool wxStaticLine::Create( wxWindow *parent, wxWindowID id, m_parent->DoAddChild( this ); - PostCreation(); - - Show( TRUE ); + PostCreation(size); return TRUE; } +// static +wxVisualAttributes +wxStaticLine::GetClassDefaultAttributes(wxWindowVariant WXUNUSED(variant)) +{ + return GetDefaultAttributesFromGTKWidget(gtk_vseparator_new); +} + #endif