]> git.saurik.com Git - wxWidgets.git/blob - include/wx/statbox.h
only define globals when wxUSE_BASE to avoid duplicate definitions in wxBase and...
[wxWidgets.git] / include / wx / statbox.h
1 #ifndef _WX_STATBOX_H_BASE_
2 #define _WX_STATBOX_H_BASE_
3
4 #if wxUSE_STATBOX
5
6 #include "wx/control.h"
7
8 WXDLLEXPORT_DATA(extern const wxChar*) wxStaticBoxNameStr;
9
10 // ----------------------------------------------------------------------------
11 // wxStaticBox: a grouping box with a label
12 // ----------------------------------------------------------------------------
13
14 class WXDLLEXPORT wxStaticBoxBase : public wxControl
15 {
16 public:
17 wxStaticBoxBase() { }
18
19 // overriden base class virtuals
20 virtual bool AcceptsFocus() const { return false; }
21 virtual bool HasTransparentBackground() { return true; }
22
23 private:
24 DECLARE_NO_COPY_CLASS(wxStaticBoxBase)
25 };
26
27 #if defined(__WXUNIVERSAL__)
28 #include "wx/univ/statbox.h"
29 #elif defined(__WXMSW__)
30 #include "wx/msw/statbox.h"
31 #elif defined(__WXMOTIF__)
32 #include "wx/motif/statbox.h"
33 #elif defined(__WXGTK__)
34 #include "wx/gtk/statbox.h"
35 #elif defined(__WXMAC__)
36 #include "wx/mac/statbox.h"
37 #elif defined(__WXCOCOA__)
38 #include "wx/cocoa/statbox.h"
39 #elif defined(__WXPM__)
40 #include "wx/os2/statbox.h"
41 #endif
42
43 #endif // wxUSE_STATBOX
44
45 #endif
46 // _WX_STATBOX_H_BASE_