X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/511ac294daea69d4bae9644db2fb272c712e059c..9869c26285dc51d13607cddaa04f65ce983653a5:/include/wx/os2/stattext.h diff --git a/include/wx/os2/stattext.h b/include/wx/os2/stattext.h index b061ae950f..3db6fd34b3 100644 --- a/include/wx/os2/stattext.h +++ b/include/wx/os2/stattext.h @@ -1,10 +1,9 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: stattext.h +// Name: wx/os2/stattext.h // Purpose: wxStaticText class // Author: David Webster // Modified by: // Created: 10/17/99 -// RCS-ID: $Id$ // Copyright: (c) David Webster // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -12,13 +11,9 @@ #ifndef _WX_STATTEXT_H_ #define _WX_STATTEXT_H_ -#ifdef __GNUG__ -#pragma interface "stattext.h" -#endif - #include "wx/control.h" -class WXDLLEXPORT wxStaticText : public wxStaticTextBase +class WXDLLIMPEXP_CORE wxStaticText : public wxStaticTextBase { public: inline wxStaticText() { } @@ -50,7 +45,7 @@ public: virtual bool SetFont(const wxFont &rFont); // - // Overriden base class virtuals + // Overridden base class virtuals // virtual bool AcceptsFocus() const { return FALSE; } @@ -71,6 +66,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