X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ab78328d2a81c8ef5f8211124b50f09687a207e7..95316a3f245a4baf3046e97222660bed986153ed:/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