]> git.saurik.com Git - wxWidgets.git/blame - include/wx/gtk/checklst.h
No real changes, just make wxWindow::CanScroll() virtual.
[wxWidgets.git] / include / wx / gtk / checklst.h
CommitLineData
caaa4cfd 1///////////////////////////////////////////////////////////////////////////////
aa61d352 2// Name: wx/gtk/checklst.h
caaa4cfd
RR
3// Purpose: wxCheckListBox class
4// Author: Robert Roebling
ff8bfdbb 5// Modified by:
caaa4cfd 6// Copyright: (c) 1998 Robert Roebling
65571936 7// Licence: wxWindows licence
caaa4cfd
RR
8///////////////////////////////////////////////////////////////////////////////
9
cbabf356
PC
10#ifndef _WX_GTKCHECKLIST_H_
11#define _WX_GTKCHECKLIST_H_
d752a3c3 12
1e6feb95 13//-----------------------------------------------------------------------------
caaa4cfd 14// wxCheckListBox
d752a3c3 15// ----------------------------------------------------------------------------
caaa4cfd 16
0444602e 17class WXDLLIMPEXP_CORE wxCheckListBox : public wxCheckListBoxBase
caaa4cfd 18{
ff8bfdbb
VZ
19public:
20 wxCheckListBox();
21 wxCheckListBox(wxWindow *parent, wxWindowID id,
22 const wxPoint& pos = wxDefaultPosition,
23 const wxSize& size = wxDefaultSize,
24 int nStrings = 0,
cbabf356 25 const wxString *choices = NULL,
ff8bfdbb
VZ
26 long style = 0,
27 const wxValidator& validator = wxDefaultValidator,
28 const wxString& name = wxListBoxNameStr);
584ad2a3
MB
29 wxCheckListBox(wxWindow *parent, wxWindowID id,
30 const wxPoint& pos,
31 const wxSize& size,
32 const wxArrayString& choices,
33 long style = 0,
34 const wxValidator& validator = wxDefaultValidator,
35 const wxString& name = wxListBoxNameStr);
ff8bfdbb 36
cbabf356
PC
37 virtual bool IsChecked(unsigned int index) const;
38 virtual void Check(unsigned int index, bool check = true);
ff8bfdbb
VZ
39
40 int GetItemHeight() const;
aa61d352 41
4a46cbe8 42 void DoCreateCheckList();
4a46cbe8 43
738f9e5a
RR
44private:
45 DECLARE_DYNAMIC_CLASS(wxCheckListBox)
caaa4cfd
RR
46};
47
cbabf356 48#endif // _WX_GTKCHECKLIST_H_