]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/stattext.cpp
Add wxControlWithItems::SendSelectionChangedEvent() helper.
[wxWidgets.git] / src / gtk / stattext.cpp
index 4bffc1fa0481c4957b26a1bb1273febaea7206ed..6bd76670bb6be585ea5bd0542ce42236ad01fb36 100644 (file)
@@ -248,7 +248,7 @@ void wxStaticText::DoSetLabel(const wxString& str)
 wxVisualAttributes
 wxStaticText::GetClassDefaultAttributes(wxWindowVariant WXUNUSED(variant))
 {
-    return GetDefaultAttributesFromGTKWidget(gtk_label_new);
+    return GetDefaultAttributesFromGTKWidget(gtk_label_new(""));
 }
 
 #endif // wxUSE_STATTEXT