]> git.saurik.com Git - wxWidgets.git/blob - include/wx/gtk1/checkbox.h
changed the notebook control to use AddPage() interface (Julian's version
[wxWidgets.git] / include / wx / gtk1 / checkbox.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: checkbox.h
3 // Purpose:
4 // Author: Robert Roebling
5 // Created: 01/02/97
6 // Id:
7 // Copyright: (c) 1998 Robert Roebling, Julian Smart and Markus Holzem
8 // Licence: wxWindows licence
9 /////////////////////////////////////////////////////////////////////////////
10
11
12 #ifndef __GTKCHECKBOXH__
13 #define __GTKCHECKBOXH__
14
15 #ifdef __GNUG__
16 #pragma interface
17 #endif
18
19 #include "wx/defs.h"
20 #include "wx/object.h"
21 #include "wx/list.h"
22 #include "wx/control.h"
23
24 //-----------------------------------------------------------------------------
25 // classes
26 //-----------------------------------------------------------------------------
27
28 class wxCheckBox;
29
30 //-----------------------------------------------------------------------------
31 // global data
32 //-----------------------------------------------------------------------------
33
34 extern const char *wxCheckBoxNameStr;
35
36 //-----------------------------------------------------------------------------
37 // wxCheckBox
38 //-----------------------------------------------------------------------------
39
40 class wxCheckBox: public wxControl
41 {
42 DECLARE_DYNAMIC_CLASS(wxCheckBox)
43
44 public:
45
46 wxCheckBox(void);
47 wxCheckBox( wxWindow *parent, wxWindowID id, const wxString &label,
48 const wxPoint &pos = wxDefaultPosition, const wxSize &size = wxDefaultSize,
49 const long style = 0, const wxString &name = wxCheckBoxNameStr );
50 bool Create( wxWindow *parent, wxWindowID id, const wxString &label,
51 const wxPoint &pos = wxDefaultPosition, const wxSize &size = wxDefaultSize,
52 const long style = 0, const wxString &name = wxCheckBoxNameStr );
53 void SetValue( const bool state );
54 bool GetValue(void) const;
55 };
56
57 #endif // __GTKCHECKBOXH__