]> git.saurik.com Git - wxWidgets.git/blame - src/motif/checklst.cpp
mention wx[Flex]GridSizer too
[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
f6045f99
GD
20#include "wx/defs.h"
21
4bb6408c
JS
22#include "wx/checklst.h"
23
24// ============================================================================
25// implementation
26// ============================================================================
27
2d120f83 28IMPLEMENT_DYNAMIC_CLASS(wxCheckListBox, wxListBox)
4bb6408c
JS
29
30// ----------------------------------------------------------------------------
31// implementation of wxCheckListBox class
32// ----------------------------------------------------------------------------
33
34// define event table
35// ------------------
36BEGIN_EVENT_TABLE(wxCheckListBox, wxListBox)
37END_EVENT_TABLE()
38
39// control creation
40// ----------------
41
42// def ctor: use Create() to really create the control
43wxCheckListBox::wxCheckListBox() : wxListBox()
44{
45}
46
47// ctor which creates the associated control
48wxCheckListBox::wxCheckListBox(wxWindow *parent, wxWindowID id,
49 const wxPoint& pos, const wxSize& size,
50 int nStrings, const wxString choices[],
51 long style, const wxValidator& val,
52 const wxString& name)
2d120f83 53 : wxListBox()
4bb6408c
JS
54{
55 // TODO: you'll probably need a separate Create instead of using
56 // the wxListBox one as here.
57 Create(parent, id, pos, size, nStrings, choices, style|wxLB_OWNERDRAW, val, name);
58}
59
60// check items
61// -----------
62
af111fc3 63bool wxCheckListBox::IsChecked(size_t WXUNUSED(uiIndex)) const
4bb6408c
JS
64{
65 // TODO
66 return FALSE;
67}
68
af111fc3 69void wxCheckListBox::Check(size_t WXUNUSED(uiIndex), bool WXUNUSED(bCheck))
4bb6408c
JS
70{
71 // TODO
72}
73
74