]> git.saurik.com Git - wxWidgets.git/blob - include/wx/stattext.h
move define to better place
[wxWidgets.git] / include / wx / stattext.h
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 WXDLLEXPORT_DATA(extern const wxChar*) wxStaticTextNameStr;
9
10 class WXDLLEXPORT wxStaticTextBase : public wxControl
11 {
12 public:
13 wxStaticTextBase() { }
14
15 // overriden base cirtuals
16 virtual bool AcceptsFocus() const { return FALSE; }
17
18 private:
19 DECLARE_NO_COPY_CLASS(wxStaticTextBase)
20 };
21
22 #if defined(__WXUNIVERSAL__)
23 #include "wx/univ/stattext.h"
24 #elif defined(__WXMSW__)
25 #include "wx/msw/stattext.h"
26 #elif defined(__WXMOTIF__)
27 #include "wx/motif/stattext.h"
28 #elif defined(__WXGTK__)
29 #include "wx/gtk/stattext.h"
30 #elif defined(__WXMAC__)
31 #include "wx/mac/stattext.h"
32 #elif defined(__WXCOCOA__)
33 #include "wx/cocoa/stattext.h"
34 #elif defined(__WXPM__)
35 #include "wx/os2/stattext.h"
36 #endif
37
38 #endif // wxUSE_STATTEXT
39
40 #endif
41 // _WX_STATTEXT_H_BASE_