]>
Commit | Line | Data |
---|---|---|
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 | 8 | WXDLLEXPORT_DATA(extern const wxChar*) wxStaticTextNameStr; |
1e6feb95 VZ |
9 | |
10 | class WXDLLEXPORT wxStaticTextBase : public wxControl | |
11 | { | |
12 | public: | |
fc7a2a60 VZ |
13 | wxStaticTextBase() { } |
14 | ||
bd507486 RD |
15 | // overriden base virtuals |
16 | virtual bool AcceptsFocus() const { return false; } | |
7c7a653b | 17 | virtual bool HasTransparentBackground() { return true; } |
fc7a2a60 VZ |
18 | |
19 | private: | |
20 | DECLARE_NO_COPY_CLASS(wxStaticTextBase) | |
1e6feb95 VZ |
21 | }; |
22 | ||
23 | #if defined(__WXUNIVERSAL__) | |
24 | #include "wx/univ/stattext.h" | |
25 | #elif defined(__WXMSW__) | |
26 | #include "wx/msw/stattext.h" | |
2049ba38 | 27 | #elif defined(__WXMOTIF__) |
1e6feb95 | 28 | #include "wx/motif/stattext.h" |
2049ba38 | 29 | #elif defined(__WXGTK__) |
1e6feb95 | 30 | #include "wx/gtk/stattext.h" |
34138703 | 31 | #elif defined(__WXMAC__) |
1e6feb95 | 32 | #include "wx/mac/stattext.h" |
e64df9bc DE |
33 | #elif defined(__WXCOCOA__) |
34 | #include "wx/cocoa/stattext.h" | |
1777b9bb | 35 | #elif defined(__WXPM__) |
1e6feb95 | 36 | #include "wx/os2/stattext.h" |
c801d85f KB |
37 | #endif |
38 | ||
1e6feb95 VZ |
39 | #endif // wxUSE_STATTEXT |
40 | ||
c801d85f | 41 | #endif |
34138703 | 42 | // _WX_STATTEXT_H_BASE_ |