]> git.saurik.com Git - wxWidgets.git/blame - include/wx/stattext.h
First nonminimal wxPalmOS functionality: enumeration of available volumes.
[wxWidgets.git] / include / wx / stattext.h
CommitLineData
34138703
JS
1#ifndef _WX_STATTEXT_H_BASE_
2#define _WX_STATTEXT_H_BASE_
c801d85f 3
1e6feb95
VZ
4#if wxUSE_STATTEXT
5
6#include "wx/control.h"
7
403aced8 8WXDLLEXPORT_DATA(extern const wxChar*) wxStaticTextNameStr;
1e6feb95
VZ
9
10class WXDLLEXPORT wxStaticTextBase : public wxControl
11{
12public:
fc7a2a60
VZ
13 wxStaticTextBase() { }
14
bd507486
RD
15 // overriden base virtuals
16 virtual bool AcceptsFocus() const { return false; }
cc0bffac
RD
17 virtual void ApplyParentThemeBackground(const wxColour& bg)
18 { SetBackgroundColour(bg); }
fc7a2a60
VZ
19
20private:
21 DECLARE_NO_COPY_CLASS(wxStaticTextBase)
1e6feb95
VZ
22};
23
24#if defined(__WXUNIVERSAL__)
25 #include "wx/univ/stattext.h"
26#elif defined(__WXMSW__)
27 #include "wx/msw/stattext.h"
2049ba38 28#elif defined(__WXMOTIF__)
1e6feb95 29 #include "wx/motif/stattext.h"
2049ba38 30#elif defined(__WXGTK__)
1e6feb95 31 #include "wx/gtk/stattext.h"
34138703 32#elif defined(__WXMAC__)
1e6feb95 33 #include "wx/mac/stattext.h"
e64df9bc
DE
34#elif defined(__WXCOCOA__)
35 #include "wx/cocoa/stattext.h"
1777b9bb 36#elif defined(__WXPM__)
1e6feb95 37 #include "wx/os2/stattext.h"
c801d85f
KB
38#endif
39
1e6feb95
VZ
40#endif // wxUSE_STATTEXT
41
c801d85f 42#endif
34138703 43 // _WX_STATTEXT_H_BASE_