]>
git.saurik.com Git - wxWidgets.git/blob - include/wx/stubs/checklst.h
b0fc0a2978c761666bb49ac28fad1dfaee3aa32f
1 ///////////////////////////////////////////////////////////////////////////////
3 // Purpose: wxCheckListBox class - a listbox with checkable items
4 // Note: this is an optional class.
9 // Copyright: (c) AUTHOR
10 // Licence: wxWindows licence
11 ///////////////////////////////////////////////////////////////////////////////
13 #ifndef _WX_CHECKLST_H_
14 #define _WX_CHECKLST_H_
17 #pragma interface "checklst.h"
20 typedef unsigned int uint
;
22 class wxCheckListBox
: public wxListBox
24 DECLARE_DYNAMIC_CLASS(wxCheckListBox
)
28 wxCheckListBox(wxWindow
*parent
, wxWindowID id
,
29 const wxPoint
& pos
= wxDefaultPosition
,
30 const wxSize
& size
= wxDefaultSize
,
32 const wxString choices
[] = NULL
,
34 const wxValidator
& validator
= wxDefaultValidator
,
35 const wxString
& name
= wxListBoxNameStr
);
37 // items may be checked
38 bool IsChecked(uint uiIndex
) const;
39 void Check(uint uiIndex
, bool bCheck
= TRUE
);
42 uint
GetItemHeight() const { return m_nItemHeight
; }