]> git.saurik.com Git - wxWidgets.git/blame - src/qt/listbox.cpp
Since wxREADONLY has disappeared, I had to change to wxTE_READONLY
[wxWidgets.git] / src / qt / listbox.cpp
CommitLineData
7c78e7c7
RR
1/////////////////////////////////////////////////////////////////////////////
2// Name: listbox.cpp
3// Purpose:
4// Author: Robert Roebling
5// Created: 01/02/97
6// Id:
7// Copyright: (c) 1998 Robert Roebling, Julian Smart and Markus Holzem
8// Licence: wxWindows licence
9/////////////////////////////////////////////////////////////////////////////
10
11
12#ifdef __GNUG__
13#pragma implementation "listbox.h"
14#endif
15
16#include "wx/dynarray.h"
17#include "wx/listbox.h"
18#include "wx/utils.h"
19
20//-----------------------------------------------------------------------------
21// wxListBox
22//-----------------------------------------------------------------------------
23
24
25IMPLEMENT_DYNAMIC_CLASS(wxListBox,wxControl)
26
27wxListBox::wxListBox(void)
28{
29};
30
31wxListBox::wxListBox( wxWindow *parent, wxWindowID id,
32 const wxPoint &pos, const wxSize &size,
33 int n, const wxString choices[],
34 long style, const wxString &name )
35{
36 Create( parent, id, pos, size, n, choices, style, name );
37};
38
39bool wxListBox::Create( wxWindow *parent, wxWindowID id,
40 const wxPoint &pos, const wxSize &size,
41 int n, const wxString choices[],
42 long style, const wxString &name )
43{
44 return TRUE;
45};
46
47void wxListBox::Append( const wxString &item )
48{
49 Append( item, (char*)NULL );
50};
51
52void wxListBox::Append( const wxString &WXUNUSED(item), char *WXUNUSED(clientData) )
53{
54};
55
56void wxListBox::Clear(void)
57{
58};
59
60void wxListBox::Delete( int WXUNUSED(n) )
61{
62};
63
64void wxListBox::Deselect( int WXUNUSED(n) )
65{
66};
67
68int wxListBox::FindString( const wxString &WXUNUSED(item) ) const
69{
70 return -1;
71};
72
73char *wxListBox::GetClientData( int WXUNUSED(n) ) const
74{
75 return (char*)NULL;
76};
77
78int wxListBox::GetSelection(void) const
79{
80 return -1;
81};
82
83int wxListBox::GetSelections( wxArrayInt& WXUNUSED(aSelections) ) const
84{
85 return 0;
86};
87
88wxString wxListBox::GetString( int WXUNUSED(n) ) const
89{
90 return "";
91};
92
93wxString wxListBox::GetStringSelection(void) const
94{
95 return "";
96};
97
98int wxListBox::Number(void)
99{
100 return 0;
101};
102
103bool wxListBox::Selected( int WXUNUSED(n) )
104{
105 return FALSE;
106};
107
108void wxListBox::Set( int WXUNUSED(n), const wxString *WXUNUSED(choices) )
109{
110};
111
112void wxListBox::SetClientData( int WXUNUSED(n), char *WXUNUSED(clientData) )
113{
114};
115
116void wxListBox::SetFirstItem( int WXUNUSED(n) )
117{
118};
119
120void wxListBox::SetFirstItem( const wxString &WXUNUSED(item) )
121{
122};
123
124void wxListBox::SetSelection( int WXUNUSED(n), bool WXUNUSED(select) )
125{
126};
127
128void wxListBox::SetString( int WXUNUSED(n), const wxString &WXUNUSED(string) )
129{
130};
131
132void wxListBox::SetStringSelection( const wxString &WXUNUSED(string), bool WXUNUSED(select) )
133{
134};
135
136
137