X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3c299c3ab663257429983c24e6fb71450f3cf9f1..86ac84b8ce086e6bbda58f422d41f84268606e35:/include/wx/os2/stattext.h?ds=sidebyside diff --git a/include/wx/os2/stattext.h b/include/wx/os2/stattext.h index 66da229103..6832107804 100644 --- a/include/wx/os2/stattext.h +++ b/include/wx/os2/stattext.h @@ -12,15 +12,9 @@ #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 { public: inline wxStaticText() { } @@ -48,8 +42,8 @@ public: // // 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 @@ -65,8 +59,17 @@ public: ); 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