]> git.saurik.com Git - wxWidgets.git/blame - include/wx/checkbox.h
fixed build
[wxWidgets.git] / include / wx / checkbox.h
CommitLineData
1e6feb95
VZ
1///////////////////////////////////////////////////////////////////////////////
2// Name: wx/checkbox.h
3// Purpose: wxCheckBox class interface
4// Author: Vadim Zeitlin
5// Modified by:
6// Created: 07.09.00
7// RCS-ID: $Id$
8// Copyright: (c) wxWindows team
9// Licence: wxWindows licence
10///////////////////////////////////////////////////////////////////////////////
11
34138703
JS
12#ifndef _WX_CHECKBOX_H_BASE_
13#define _WX_CHECKBOX_H_BASE_
c801d85f 14
997176a3
VZ
15#include "wx/defs.h"
16
1e6feb95
VZ
17#if wxUSE_CHECKBOX
18
19#include "wx/control.h"
20
21WXDLLEXPORT_DATA(extern const wxChar*) wxCheckBoxNameStr;
22
23// ----------------------------------------------------------------------------
24// wxCheckBox: a control which shows a label and a box which may be checked
25// ----------------------------------------------------------------------------
26
27class WXDLLEXPORT wxCheckBoxBase : public wxControl
28{
29public:
30 // set/get the checked status of the listbox
31 virtual void SetValue(bool value) = 0;
32 virtual bool GetValue() const = 0;
33
34 bool IsChecked() const { return GetValue(); }
35};
36
37#if defined(__WXUNIVERSAL__)
38 #include "wx/univ/checkbox.h"
39#elif defined(__WXMSW__)
40 #include "wx/msw/checkbox.h"
2049ba38 41#elif defined(__WXMOTIF__)
1e6feb95 42 #include "wx/motif/checkbox.h"
2049ba38 43#elif defined(__WXGTK__)
1e6feb95 44 #include "wx/gtk/checkbox.h"
34138703 45#elif defined(__WXMAC__)
1e6feb95 46 #include "wx/mac/checkbox.h"
e64df9bc
DE
47#elif defined(__WXCOCOA__)
48 #include "wx/cocoa/checkbox.h"
1777b9bb 49#elif defined(__WXPM__)
1e6feb95 50 #include "wx/os2/checkbox.h"
c801d85f
KB
51#endif
52
1e6feb95
VZ
53#endif // wxUSE_CHECKBOX
54
c801d85f 55#endif
34138703 56 // _WX_CHECKBOX_H_BASE_