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
25 // keep virtuals synchronised
32 wxCheckListBoxBase() { }
34 // check list box specific methods
35 virtual bool IsChecked(size_t item
) const = 0;
36 virtual void Check(size_t item
, bool check
= true) = 0;
38 DECLARE_NO_COPY_CLASS(wxCheckListBoxBase
)
41 #if defined(__WXUNIVERSAL__)
42 #include "wx/univ/checklst.h"
43 #elif defined(__WXWINCE__)
44 #include "wx/msw/wince/checklst.h"
45 #elif defined(__WXMSW__)
46 #include "wx/msw/checklst.h"
47 #elif defined(__WXMOTIF__)
48 #include "wx/motif/checklst.h"
49 #elif defined(__WXGTK__)
50 #include "wx/gtk/checklst.h"
51 #elif defined(__WXMAC__)
52 #include "wx/mac/checklst.h"
53 #elif defined(__WXCOCOA__)
54 #include "wx/cocoa/checklst.h"
55 #elif defined(__WXPM__)
56 #include "wx/os2/checklst.h"
59 #endif // wxUSE_CHECKLISTBOX
62 // _WX_CHECKLST_H_BASE_