]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/statline.cpp
Fix memory leak when a spacer is added, and crash when a window is added before wxSiz...
[wxWidgets.git] / src / gtk1 / statline.cpp
index d10067f6acd179fe56bff23063ccb29b3bc73452..3f95edd803b53931fa465226d912df09c52624fa 100644 (file)
@@ -79,4 +79,11 @@ bool wxStaticLine::Create( wxWindow *parent, wxWindowID id,
     return TRUE;
 }
 
+// static
+wxVisualAttributes
+wxStaticLine::GetClassDefaultAttributes(wxWindowVariant WXUNUSED(variant))
+{
+    return GetDefaultAttributesFromGTKWidget(gtk_vseparator_new);
+}
+
 #endif