]> git.saurik.com Git - wxWidgets.git/blame - include/wx/statbox.h
When running samples from the demo standalone you can now add a
[wxWidgets.git] / include / wx / statbox.h
CommitLineData
34138703
JS
1#ifndef _WX_STATBOX_H_BASE_
2#define _WX_STATBOX_H_BASE_
c801d85f 3
1e6feb95
VZ
4#if wxUSE_STATBOX
5
6#include "wx/control.h"
7
8WXDLLEXPORT_DATA(extern const wxChar*) wxStaticBoxNameStr;
9
10// ----------------------------------------------------------------------------
11// wxStaticBox: a grouping box with a label
12// ----------------------------------------------------------------------------
13
14class WXDLLEXPORT wxStaticBoxBase : public wxControl
15{
16public:
fc7a2a60
VZ
17 wxStaticBoxBase() { }
18
1e6feb95 19 // overriden base class virtuals
bd507486
RD
20 virtual bool AcceptsFocus() const { return false; }
21 virtual bool CanApplyParentThemeBackground() const { return true; }
fc7a2a60
VZ
22
23private:
24 DECLARE_NO_COPY_CLASS(wxStaticBoxBase)
1e6feb95
VZ
25};
26
27#if defined(__WXUNIVERSAL__)
28#include "wx/univ/statbox.h"
29#elif defined(__WXMSW__)
c801d85f 30#include "wx/msw/statbox.h"
2049ba38 31#elif defined(__WXMOTIF__)
34138703 32#include "wx/motif/statbox.h"
2049ba38 33#elif defined(__WXGTK__)
c801d85f 34#include "wx/gtk/statbox.h"
34138703
JS
35#elif defined(__WXMAC__)
36#include "wx/mac/statbox.h"
e64df9bc
DE
37#elif defined(__WXCOCOA__)
38#include "wx/cocoa/statbox.h"
1777b9bb
DW
39#elif defined(__WXPM__)
40#include "wx/os2/statbox.h"
c801d85f
KB
41#endif
42
1e6feb95
VZ
43#endif // wxUSE_STATBOX
44
c801d85f 45#endif
34138703 46 // _WX_STATBOX_H_BASE_