]> git.saurik.com Git - wxWidgets.git/blame - src/motif/checklst.cpp
Fix/hack 1.
[wxWidgets.git] / src / motif / checklst.cpp
CommitLineData
4bb6408c
JS
1///////////////////////////////////////////////////////////////////////////////
2// Name: checklst.cpp
3// Purpose: implementation of wxCheckListBox class
4// Author: Julian Smart
5// Modified by:
6// Created: 17/09/98
7// RCS-ID: $Id$
8// Copyright: (c) Julian Smart
9// Licence: wxWindows licence
10///////////////////////////////////////////////////////////////////////////////
11
12// ============================================================================
13// headers & declarations
14// ============================================================================
15
16#ifdef __GNUG__
17#pragma implementation "checklst.h"
18#endif
19
20#include "wx/checklst.h"
21
22// ============================================================================
23// implementation
24// ============================================================================
25
2d120f83 26IMPLEMENT_DYNAMIC_CLASS(wxCheckListBox, wxListBox)
4bb6408c
JS
27
28// ----------------------------------------------------------------------------
29// implementation of wxCheckListBox class
30// ----------------------------------------------------------------------------
31
32// define event table
33// ------------------
34BEGIN_EVENT_TABLE(wxCheckListBox, wxListBox)
35END_EVENT_TABLE()
36
37// control creation
38// ----------------
39
40// def ctor: use Create() to really create the control
41wxCheckListBox::wxCheckListBox() : wxListBox()
42{
43}
44
45// ctor which creates the associated control
46wxCheckListBox::wxCheckListBox(wxWindow *parent, wxWindowID id,
47 const wxPoint& pos, const wxSize& size,
48 int nStrings, const wxString choices[],
49 long style, const wxValidator& val,
50 const wxString& name)
2d120f83 51 : wxListBox()
4bb6408c
JS
52{
53 // TODO: you'll probably need a separate Create instead of using
54 // the wxListBox one as here.
55 Create(parent, id, pos, size, nStrings, choices, style|wxLB_OWNERDRAW, val, name);
56}
57
58// check items
59// -----------
60
af111fc3 61bool wxCheckListBox::IsChecked(size_t WXUNUSED(uiIndex)) const
4bb6408c
JS
62{
63 // TODO
64 return FALSE;
65}
66
af111fc3 67void wxCheckListBox::Check(size_t WXUNUSED(uiIndex), bool WXUNUSED(bCheck))
4bb6408c
JS
68{
69 // TODO
70}
71
72