]> git.saurik.com Git - wxWidgets.git/blame - include/wx/checklst.h
Missed defs.h inclusion.
[wxWidgets.git] / include / wx / checklst.h
CommitLineData
1e6feb95
VZ
1///////////////////////////////////////////////////////////////////////////////
2// Name: wx/checklst.h
3// Purpose: wxCheckListBox class interface
4// Author: Vadim Zeitlin
5// Modified by:
6// Created: 12.09.00
7// RCS-ID: $Id$
8// Copyright: (c) Vadim Zeitlin
65571936 9// Licence: wxWindows licence
1e6feb95
VZ
10///////////////////////////////////////////////////////////////////////////////
11
34138703
JS
12#ifndef _WX_CHECKLST_H_BASE_
13#define _WX_CHECKLST_H_BASE_
14
1e6feb95
VZ
15#if wxUSE_CHECKLISTBOX
16
17#include "wx/listbox.h"
18
19// ----------------------------------------------------------------------------
20// wxCheckListBox: a listbox whose items may be checked
21// ----------------------------------------------------------------------------
22
23class WXDLLEXPORT wxCheckListBoxBase : public wxListBox
24{
25public:
6463b9f5 26 wxCheckListBoxBase() { }
fc7a2a60 27
1e6feb95
VZ
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;
fc7a2a60
VZ
31
32 DECLARE_NO_COPY_CLASS(wxCheckListBoxBase)
1e6feb95
VZ
33};
34
35#if defined(__WXUNIVERSAL__)
36 #include "wx/univ/checklst.h"
37#elif defined(__WXMSW__)
38 #include "wx/msw/checklst.h"
34138703 39#elif defined(__WXMOTIF__)
1e6feb95 40 #include "wx/motif/checklst.h"
34138703 41#elif defined(__WXGTK__)
1e6feb95 42 #include "wx/gtk/checklst.h"
34138703 43#elif defined(__WXMAC__)
1e6feb95 44 #include "wx/mac/checklst.h"
e64df9bc
DE
45#elif defined(__WXCOCOA__)
46 #include "wx/cocoa/checklst.h"
1777b9bb 47#elif defined(__WXPM__)
1e6feb95 48 #include "wx/os2/checklst.h"
34138703
JS
49#endif
50
1e6feb95
VZ
51#endif // wxUSE_CHECKLISTBOX
52
34138703
JS
53#endif
54 // _WX_CHECKLST_H_BASE_