]> git.saurik.com Git - wxWidgets.git/blame_incremental - include/wx/stattext.h
Remove no longer used header.
[wxWidgets.git] / include / wx / stattext.h
... / ...
CommitLineData
1#ifndef _WX_STATTEXT_H_BASE_
2#define _WX_STATTEXT_H_BASE_
3
4#if wxUSE_STATTEXT
5
6#include "wx/control.h"
7
8WXDLLEXPORT_DATA(extern const wxChar*) wxStaticTextNameStr;
9
10class WXDLLEXPORT wxStaticTextBase : public wxControl
11{
12public:
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 bool GetAdjustMinSizeFlag() const { return !HasFlag(wxST_NO_AUTORESIZE); }
21
22private:
23 DECLARE_NO_COPY_CLASS(wxStaticTextBase)
24};
25
26#if defined(__WXUNIVERSAL__)
27 #include "wx/univ/stattext.h"
28#elif defined(__WXMSW__)
29 #include "wx/msw/stattext.h"
30#elif defined(__WXMOTIF__)
31 #include "wx/motif/stattext.h"
32#elif defined(__WXGTK__)
33 #include "wx/gtk/stattext.h"
34#elif defined(__WXMAC__)
35 #include "wx/mac/stattext.h"
36#elif defined(__WXCOCOA__)
37 #include "wx/cocoa/stattext.h"
38#elif defined(__WXPM__)
39 #include "wx/os2/stattext.h"
40#endif
41
42#endif // wxUSE_STATTEXT
43
44#endif
45 // _WX_STATTEXT_H_BASE_