X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c49ba2113c3788115ec7134d2a5f37d0f4776c88..4164a04a98be1066038317c2d16438cce3f59c81:/src/gtk/stattext.cpp diff --git a/src/gtk/stattext.cpp b/src/gtk/stattext.cpp index 33ddcd095a..6bd76670bb 100644 --- a/src/gtk/stattext.cpp +++ b/src/gtk/stattext.cpp @@ -191,13 +191,6 @@ bool wxStaticText::SetFont( const wxFont &font ) return ret; } -void wxStaticText::DoSetSize(int x, int y, - int width, int height, - int sizeFlags ) -{ - wxStaticTextBase::DoSetSize(x, y, width, height, sizeFlags); -} - wxSize wxStaticText::DoGetBestSize() const { // Do not return any arbitrary default value... @@ -255,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