X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ab78328d2a81c8ef5f8211124b50f09687a207e7..dc5d118e65603773263040afdf2c97633869e4ca:/src/gtk/stattext.cpp diff --git a/src/gtk/stattext.cpp b/src/gtk/stattext.cpp index 4bffc1fa04..6bd76670bb 100644 --- a/src/gtk/stattext.cpp +++ b/src/gtk/stattext.cpp @@ -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