X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c49ba2113c3788115ec7134d2a5f37d0f4776c88..d58b140b13c4b9215a2d2de3f1a3c5efe418e669:/src/gtk/stattext.cpp diff --git a/src/gtk/stattext.cpp b/src/gtk/stattext.cpp index 33ddcd095a..959c649f9a 100644 --- a/src/gtk/stattext.cpp +++ b/src/gtk/stattext.cpp @@ -2,7 +2,6 @@ // Name: src/gtk/stattext.cpp // Purpose: // Author: Robert Roebling -// Id: $Id$ // Copyright: (c) 1998 Robert Roebling // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -191,13 +190,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 +247,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