#ifndef __GTKSTATICTEXTH__
#define __GTKSTATICTEXTH__
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(__APPLE__)
#pragma interface
#endif
// global data
//-----------------------------------------------------------------------------
-extern const wxChar *wxStaticTextNameStr;
-
//-----------------------------------------------------------------------------
// wxStaticText
//-----------------------------------------------------------------------------
class wxStaticText : public wxControl
{
public:
-
wxStaticText();
wxStaticText(wxWindow *parent,
wxWindowID id,
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)
};