]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk/stattext.h
Fix so OGL can build without wxBuffer
[wxWidgets.git] / include / wx / gtk / stattext.h
index 809568191e500544135a654d35497a202eab0b2a..9ae390b841876ce96bb2fd3658f4a244d2f627a3 100644 (file)
@@ -30,8 +30,6 @@ class wxStaticText;
 // global data
 //-----------------------------------------------------------------------------
 
-extern const wxChar *wxStaticTextNameStr;
-
 //-----------------------------------------------------------------------------
 // wxStaticText
 //-----------------------------------------------------------------------------
@@ -39,7 +37,6 @@ extern const wxChar *wxStaticTextNameStr;
 class wxStaticText : public wxControl
 {
 public:
-
     wxStaticText();
     wxStaticText(wxWindow *parent,
                  wxWindowID id,
@@ -60,10 +57,16 @@ public:
     wxString GetLabel() const;
     void SetLabel( const wxString &label );
 
+    bool SetFont( const wxFont &font );
+    
     // implementation
+    // --------------
+    
     void ApplyWidgetStyle();
 
 protected:
+    virtual wxSize DoGetBestSize() const;
+
     DECLARE_DYNAMIC_CLASS(wxStaticText)
 };