1 #ifndef _WX_STATTEXT_H_BASE_
2 #define _WX_STATTEXT_H_BASE_
6 #include "wx/control.h"
8 WXDLLEXPORT_DATA(extern const wxChar
*) wxStaticTextNameStr
;
10 class WXDLLEXPORT wxStaticTextBase
: public wxControl
13 wxStaticTextBase() { }
15 // overriden base virtuals
16 virtual bool AcceptsFocus() const { return false; }
17 virtual void ApplyParentThemeBackground(const wxColour
& bg
)
18 { SetBackgroundColour(bg
); }
21 DECLARE_NO_COPY_CLASS(wxStaticTextBase
)
24 #if defined(__WXUNIVERSAL__)
25 #include "wx/univ/stattext.h"
26 #elif defined(__WXMSW__)
27 #include "wx/msw/stattext.h"
28 #elif defined(__WXMOTIF__)
29 #include "wx/motif/stattext.h"
30 #elif defined(__WXGTK__)
31 #include "wx/gtk/stattext.h"
32 #elif defined(__WXMAC__)
33 #include "wx/mac/stattext.h"
34 #elif defined(__WXCOCOA__)
35 #include "wx/cocoa/stattext.h"
36 #elif defined(__WXPM__)
37 #include "wx/os2/stattext.h"
40 #endif // wxUSE_STATTEXT
43 // _WX_STATTEXT_H_BASE_