X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/14f355c2b5c71fc7c3d680aea366582d2ac60f7b..ba763a45d85d8b70326da65895b7753f86fc3ea3:/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