]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/stattext.cpp
revert r74683, wxTLW has its own {Width,Height}Default()
[wxWidgets.git] / src / gtk / stattext.cpp
index 4bffc1fa0481c4957b26a1bb1273febaea7206ed..959c649f9ade0ecdf3331eb6fc31753a4e5efeea 100644 (file)
@@ -2,7 +2,6 @@
 // Name:        src/gtk/stattext.cpp
 // Purpose:
 // Author:      Robert Roebling
-// Id:          $Id$
 // Copyright:   (c) 1998 Robert Roebling
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
@@ -248,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