]>
git.saurik.com Git - wxWidgets.git/blob - include/wx/gtk/checkbox.h
1 /////////////////////////////////////////////////////////////////////////////
4 // Author: Robert Roebling
7 // Copyright: (c) 1998 Robert Roebling, Julian Smart and Markus Holzem
8 // Licence: wxWindows licence
9 /////////////////////////////////////////////////////////////////////////////
12 #ifndef __GTKCHECKBOXH__
13 #define __GTKCHECKBOXH__
20 #include "wx/object.h"
22 #include "wx/control.h"
24 //-----------------------------------------------------------------------------
26 //-----------------------------------------------------------------------------
30 //-----------------------------------------------------------------------------
32 //-----------------------------------------------------------------------------
34 extern const char *wxCheckBoxNameStr
;
36 //-----------------------------------------------------------------------------
38 //-----------------------------------------------------------------------------
40 class wxCheckBox
: public wxControl
42 DECLARE_DYNAMIC_CLASS(wxCheckBox
)
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;
57 #endif // __GTKCHECKBOXH__