/////////////////////////////////////////////////////////////////////////////
-// 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
/////////////////////////////////////////////////////////////////////////////
#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() { }
virtual bool SetFont(const wxFont &rFont);
//
- // Overriden base class virtuals
+ // Overridden base class virtuals
//
virtual bool AcceptsFocus() const { return FALSE; }
);
virtual wxSize DoGetBestSize(void) const;
+ virtual void DoSetLabel(const wxString& str);
+ virtual wxString DoGetLabel() const;
+
private:
DECLARE_DYNAMIC_CLASS(wxStaticText)
}; // end of CLASS wxStaticText