]>
git.saurik.com Git - wxWidgets.git/blob - include/wx/gtk1/checklst.h
cbdd0ee2334c1d9a12234417c86376bb7c3f0243
1 ///////////////////////////////////////////////////////////////////////////////
3 // Purpose: wxCheckListBox class
4 // Author: Robert Roebling
7 // Copyright: (c) 1998 Robert Roebling
8 // Licence: wxWindows licence
9 ///////////////////////////////////////////////////////////////////////////////
11 #ifndef __GTKCHECKLISTH__
12 #define __GTKCHECKLISTH__
19 #include "wx/object.h"
21 #include "wx/control.h"
22 #include "wx/listbox.h"
24 //-----------------------------------------------------------------------------
26 //-----------------------------------------------------------------------------
30 //-----------------------------------------------------------------------------
32 //-----------------------------------------------------------------------------
34 class wxCheckListBox
: public wxListBox
36 DECLARE_DYNAMIC_CLASS(wxCheckListBox
)
40 wxCheckListBox(wxWindow
*parent
, wxWindowID id
,
41 const wxPoint
& pos
= wxDefaultPosition
,
42 const wxSize
& size
= wxDefaultSize
,
44 const wxString
*choices
= (const wxString
*)NULL
,
46 const wxValidator
& validator
= wxDefaultValidator
,
47 const wxString
& name
= wxListBoxNameStr
);
49 bool IsChecked( int index
) const;
50 void Check( int index
, bool check
= TRUE
);
52 int GetItemHeight() const;