]> git.saurik.com Git - wxWidgets.git/blob - include/wx/stattext.h
removed _GSocket::m_oriented
[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 virtuals
16 virtual bool AcceptsFocus() const { return false; }
17 virtual void ApplyParentThemeBackground(const wxColour& bg)
18 { SetBackgroundColour(bg); }
19
20 private:
21 DECLARE_NO_COPY_CLASS(wxStaticTextBase)
22 };
23
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"
38 #endif
39
40 #endif // wxUSE_STATTEXT
41
42 #endif
43 // _WX_STATTEXT_H_BASE_