#ifndef _WX_STATTEXT_H_
#define _WX_STATTEXT_H_
-#ifdef __GNUG__
-#pragma interface "stattext.h"
-#endif
-
#include "wx/control.h"
-WXDLLEXPORT_DATA(extern const char*) wxStaticTextNameStr;
-
-class WXDLLEXPORT wxStaticText : public wxControl
+class WXDLLIMPEXP_CORE wxStaticText : public wxStaticTextBase
{
- DECLARE_DYNAMIC_CLASS(wxStaticText)
-
- public:
+public:
inline wxStaticText() { }
-
inline wxStaticText( wxWindow* pParent
,wxWindowID vId
,const wxString& rsLabel
//
// Accessors
//
- void SetLabel(const wxString&);
- bool SetFont(const wxFont &rFont);
+ virtual void SetLabel(const wxString& rsLabel);
+ virtual bool SetFont(const wxFont &rFont);
//
// Overriden base class virtuals
);
protected:
+ virtual void DoSetSize( int nX
+ ,int nY
+ ,int nWidth
+ ,int nHeight
+ ,int nSizeFlags = wxSIZE_AUTO
+ );
virtual wxSize DoGetBestSize(void) const;
+
+ virtual void DoSetLabel(const wxString& str);
+ virtual wxString DoGetLabel() const;
+
+private:
+ DECLARE_DYNAMIC_CLASS(wxStaticText)
}; // end of CLASS wxStaticText
#endif