X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/14f355c2b5c71fc7c3d680aea366582d2ac60f7b..dcbd3762e86258781ed81202977f680665190528:/src/gtk/statline.cpp 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