]>
git.saurik.com Git - wxWidgets.git/blob - include/wx/gtk1/checklst.h
8022f35658a92ec4886f7cda8f6571920919abb0
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__
20 #if wxUSE_CHECKLISTBOX
22 #include "wx/object.h"
24 #include "wx/control.h"
25 #include "wx/listbox.h"
27 //-----------------------------------------------------------------------------
29 //-----------------------------------------------------------------------------
33 //-----------------------------------------------------------------------------
35 //-----------------------------------------------------------------------------
37 class wxCheckListBox
: public wxListBox
39 DECLARE_DYNAMIC_CLASS(wxCheckListBox
)
43 wxCheckListBox(wxWindow
*parent
, wxWindowID id
,
44 const wxPoint
& pos
= wxDefaultPosition
,
45 const wxSize
& size
= wxDefaultSize
,
47 const wxString
*choices
= (const wxString
*)NULL
,
49 const wxValidator
& validator
= wxDefaultValidator
,
50 const wxString
& name
= wxListBoxNameStr
);
52 bool IsChecked( int index
) const;
53 void Check( int index
, bool check
= TRUE
);
55 int GetItemHeight() const;
60 #endif //__GTKCHECKLISTH__