1 ///////////////////////////////////////////////////////////////////////////////
2 // Name: wx/gtk/checklst.h
3 // Purpose: wxCheckListBox class
4 // Author: Robert Roebling
6 // Copyright: (c) 1998 Robert Roebling
7 // Licence: wxWindows licence
8 ///////////////////////////////////////////////////////////////////////////////
10 #ifndef _WX_GTKCHECKLIST_H_
11 #define _WX_GTKCHECKLIST_H_
13 //-----------------------------------------------------------------------------
15 // ----------------------------------------------------------------------------
17 class WXDLLIMPEXP_CORE wxCheckListBox
: public wxCheckListBoxBase
21 wxCheckListBox(wxWindow
*parent
, wxWindowID id
,
22 const wxPoint
& pos
= wxDefaultPosition
,
23 const wxSize
& size
= wxDefaultSize
,
25 const wxString
*choices
= NULL
,
27 const wxValidator
& validator
= wxDefaultValidator
,
28 const wxString
& name
= wxListBoxNameStr
);
29 wxCheckListBox(wxWindow
*parent
, wxWindowID id
,
32 const wxArrayString
& choices
,
34 const wxValidator
& validator
= wxDefaultValidator
,
35 const wxString
& name
= wxListBoxNameStr
);
37 virtual bool IsChecked(unsigned int index
) const;
38 virtual void Check(unsigned int index
, bool check
= true);
40 int GetItemHeight() const;
42 void DoCreateCheckList();
45 DECLARE_DYNAMIC_CLASS(wxCheckListBox
)
48 #endif // _WX_GTKCHECKLIST_H_