X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/14f355c2b5c71fc7c3d680aea366582d2ac60f7b..be698f50301674b969cacecc683ffac5ba6e2e16:/src/gtk1/statline.cpp diff --git a/src/gtk1/statline.cpp b/src/gtk1/statline.cpp index d4299aa62e..3f95edd803 100644 --- a/src/gtk1/statline.cpp +++ b/src/gtk1/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