X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1908260b428e3892b6a3192cf22ed9154ae0b891..ab67e8874db324fab5223cc8d5dff8a8de3e2b77:/include/wx/os2/stattext.h?ds=sidebyside diff --git a/include/wx/os2/stattext.h b/include/wx/os2/stattext.h index 9840a9090c..d730409fd3 100644 --- a/include/wx/os2/stattext.h +++ b/include/wx/os2/stattext.h @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: stattext.h +// Name: wx/os2/stattext.h // Purpose: wxStaticText class // Author: David Webster // Modified by: @@ -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 wxStaticTextBase +class WXDLLIMPEXP_CORE wxStaticText : public wxStaticTextBase { public: inline wxStaticText() { } @@ -52,7 +46,7 @@ public: virtual bool SetFont(const wxFont &rFont); // - // Overriden base class virtuals + // Overridden base class virtuals // virtual bool AcceptsFocus() const { return FALSE; } @@ -73,6 +67,9 @@ protected: ); virtual wxSize DoGetBestSize(void) const; + virtual void DoSetLabel(const wxString& str); + virtual wxString DoGetLabel() const; + private: DECLARE_DYNAMIC_CLASS(wxStaticText) }; // end of CLASS wxStaticText