]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/statline.cpp
Should return wxImage not bool
[wxWidgets.git] / src / gtk / statline.cpp
index d4299aa62ebfe87f1d0e11fe552757a38e968bd4..3f95edd803b53931fa465226d912df09c52624fa 100644 (file)
@@ -74,11 +74,16 @@ bool wxStaticLine::Create( wxWindow *parent, wxWindowID id,
 
     m_parent->DoAddChild( this );
 
 
     m_parent->DoAddChild( this );
 
-    PostCreation();
-
-    Show( TRUE );
+    PostCreation(size);
 
     return TRUE;
 }
 
 
     return TRUE;
 }
 
+// static
+wxVisualAttributes
+wxStaticLine::GetClassDefaultAttributes(wxWindowVariant WXUNUSED(variant))
+{
+    return GetDefaultAttributesFromGTKWidget(gtk_vseparator_new);
+}
+
 #endif
 #endif