]> git.saurik.com Git - wxWidgets.git/blame - include/wx/statbox.h
Revert my last commit, GetClientAreaOrigin was already implemented
[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
16cba29d 8extern WXDLLEXPORT_DATA(const wxChar*) wxStaticBoxNameStr;
1e6feb95
VZ
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; }
7c7a653b 21 virtual bool HasTransparentBackground() { return true; }
fc7a2a60
VZ
22
23private:
24 DECLARE_NO_COPY_CLASS(wxStaticBoxBase)
1e6feb95
VZ
25};
26
27#if defined(__WXUNIVERSAL__)
7c7a653b 28 #include "wx/univ/statbox.h"
1e6feb95 29#elif defined(__WXMSW__)
7c7a653b 30 #include "wx/msw/statbox.h"
2049ba38 31#elif defined(__WXMOTIF__)
7c7a653b 32 #include "wx/motif/statbox.h"
2049ba38 33#elif defined(__WXGTK__)
7c7a653b 34 #include "wx/gtk/statbox.h"
34138703 35#elif defined(__WXMAC__)
7c7a653b 36 #include "wx/mac/statbox.h"
e64df9bc 37#elif defined(__WXCOCOA__)
7c7a653b 38 #include "wx/cocoa/statbox.h"
1777b9bb 39#elif defined(__WXPM__)
7c7a653b 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_