1 ///////////////////////////////////////////////////////////////////////////////
3 // Purpose: wxCheckListBox class interface
4 // Author: Vadim Zeitlin
8 // Copyright: (c) Vadim Zeitlin
9 // Licence: wxWindows licence
10 ///////////////////////////////////////////////////////////////////////////////
12 #ifndef _WX_CHECKLST_H_BASE_
13 #define _WX_CHECKLST_H_BASE_
15 #if wxUSE_CHECKLISTBOX
17 #include "wx/listbox.h"
19 // ----------------------------------------------------------------------------
20 // wxCheckListBox: a listbox whose items may be checked
21 // ----------------------------------------------------------------------------
23 class WXDLLEXPORT wxCheckListBoxBase
: public wxListBox
26 wxCheckListBoxBase() { }
28 // check list box specific methods
29 virtual bool IsChecked(size_t item
) const = 0;
30 virtual void Check(size_t item
, bool check
= TRUE
) = 0;
32 DECLARE_NO_COPY_CLASS(wxCheckListBoxBase
)
35 #if defined(__WXUNIVERSAL__)
36 #include "wx/univ/checklst.h"
37 #elif defined(__WXMSW__)
38 #include "wx/msw/checklst.h"
39 #elif defined(__WXMOTIF__)
40 #include "wx/motif/checklst.h"
41 #elif defined(__WXGTK__)
42 #include "wx/gtk/checklst.h"
43 #elif defined(__WXMAC__)
44 #include "wx/mac/checklst.h"
45 #elif defined(__WXCOCOA__)
46 #include "wx/cocoa/checklst.h"
47 #elif defined(__WXPM__)
48 #include "wx/os2/checklst.h"
51 #endif // wxUSE_CHECKLISTBOX
54 // _WX_CHECKLST_H_BASE_