]>
Commit | Line | Data |
---|---|---|
1 | #ifndef _WX_STATTEXT_H_BASE_ | |
2 | #define _WX_STATTEXT_H_BASE_ | |
3 | ||
4 | #if wxUSE_STATTEXT | |
5 | ||
6 | #include "wx/control.h" | |
7 | ||
8 | extern WXDLLEXPORT_DATA(const wxChar*) wxStaticTextNameStr; | |
9 | ||
10 | class WXDLLEXPORT wxStaticTextBase : public wxControl | |
11 | { | |
12 | public: | |
13 | wxStaticTextBase() { } | |
14 | ||
15 | // overriden base virtuals | |
16 | virtual bool AcceptsFocus() const { return false; } | |
17 | virtual bool HasTransparentBackground() { return true; } | |
18 | ||
19 | private: | |
20 | DECLARE_NO_COPY_CLASS(wxStaticTextBase) | |
21 | }; | |
22 | ||
23 | #if defined(__WXUNIVERSAL__) | |
24 | #include "wx/univ/stattext.h" | |
25 | #elif defined(__WXMSW__) | |
26 | #include "wx/msw/stattext.h" | |
27 | #elif defined(__WXMOTIF__) | |
28 | #include "wx/motif/stattext.h" | |
29 | #elif defined(__WXGTK__) | |
30 | #include "wx/gtk/stattext.h" | |
31 | #elif defined(__WXMAC__) | |
32 | #include "wx/mac/stattext.h" | |
33 | #elif defined(__WXCOCOA__) | |
34 | #include "wx/cocoa/stattext.h" | |
35 | #elif defined(__WXPM__) | |
36 | #include "wx/os2/stattext.h" | |
37 | #elif defined(__WXPALMOS__) | |
38 | #include "wx/palmos/stattext.h" | |
39 | #endif | |
40 | ||
41 | #endif // wxUSE_STATTEXT | |
42 | ||
43 | #endif | |
44 | // _WX_STATTEXT_H_BASE_ |