]> git.saurik.com Git - wxWidgets.git/blob - include/wx/stattext.h
Added IsFalse()
[wxWidgets.git] / include / wx / stattext.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: stattext.h
3 // Purpose: wxStaticText base header
4 // Author: wxWidgets Team
5 // Modified by:
6 // Created:
7 // Copyright: (c) wxWidgets Team
8 // RCS-ID: $Id$
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
11
12 #ifndef _WX_STATTEXT_H_BASE_
13 #define _WX_STATTEXT_H_BASE_
14
15 #include "wx/defs.h"
16
17 #if wxUSE_STATTEXT
18
19 #include "wx/control.h"
20
21 extern WXDLLEXPORT_DATA(const wxChar*) wxStaticTextNameStr;
22
23 class WXDLLEXPORT wxStaticTextBase : public wxControl
24 {
25 public:
26 wxStaticTextBase() { }
27
28 // overriden base virtuals
29 virtual bool AcceptsFocus() const { return false; }
30 virtual bool HasTransparentBackground() { return true; }
31
32 private:
33 DECLARE_NO_COPY_CLASS(wxStaticTextBase)
34 };
35
36 #if defined(__WXUNIVERSAL__)
37 #include "wx/univ/stattext.h"
38 #elif defined(__WXMSW__)
39 #include "wx/msw/stattext.h"
40 #elif defined(__WXMOTIF__)
41 #include "wx/motif/stattext.h"
42 #elif defined(__WXGTK__)
43 #include "wx/gtk/stattext.h"
44 #elif defined(__WXMAC__)
45 #include "wx/mac/stattext.h"
46 #elif defined(__WXCOCOA__)
47 #include "wx/cocoa/stattext.h"
48 #elif defined(__WXPM__)
49 #include "wx/os2/stattext.h"
50 #elif defined(__WXPALMOS__)
51 #include "wx/palmos/stattext.h"
52 #endif
53
54 #endif // wxUSE_STATTEXT
55
56 #endif
57 // _WX_STATTEXT_H_BASE_