]> git.saurik.com Git - wxWidgets.git/blame - include/wx/statbox.h
Reverted conflict with Darwin.
[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 20 virtual bool AcceptsFocus() const { return false; }
cc0bffac
RD
21 virtual void ApplyParentThemeBackground(const wxColour& bg)
22 { SetBackgroundColour(bg); }
fc7a2a60
VZ
23
24private:
25 DECLARE_NO_COPY_CLASS(wxStaticBoxBase)
1e6feb95
VZ
26};
27
28#if defined(__WXUNIVERSAL__)
29#include "wx/univ/statbox.h"
30#elif defined(__WXMSW__)
c801d85f 31#include "wx/msw/statbox.h"
2049ba38 32#elif defined(__WXMOTIF__)
34138703 33#include "wx/motif/statbox.h"
2049ba38 34#elif defined(__WXGTK__)
c801d85f 35#include "wx/gtk/statbox.h"
34138703
JS
36#elif defined(__WXMAC__)
37#include "wx/mac/statbox.h"
e64df9bc
DE
38#elif defined(__WXCOCOA__)
39#include "wx/cocoa/statbox.h"
1777b9bb
DW
40#elif defined(__WXPM__)
41#include "wx/os2/statbox.h"
c801d85f
KB
42#endif
43
1e6feb95
VZ
44#endif // wxUSE_STATBOX
45
c801d85f 46#endif
34138703 47 // _WX_STATBOX_H_BASE_