]>
Commit | Line | Data |
---|---|---|
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 | ||
25 | IMPLEMENT_DYNAMIC_CLASS(wxListBox,wxControl) | |
26 | ||
27 | wxListBox::wxListBox(void) | |
28 | { | |
29 | }; | |
30 | ||
31 | wxListBox::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 | ||
39 | bool 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 | ||
47 | void wxListBox::Append( const wxString &item ) | |
48 | { | |
49 | Append( item, (char*)NULL ); | |
50 | }; | |
51 | ||
52 | void wxListBox::Append( const wxString &WXUNUSED(item), char *WXUNUSED(clientData) ) | |
53 | { | |
54 | }; | |
55 | ||
56 | void wxListBox::Clear(void) | |
57 | { | |
58 | }; | |
59 | ||
60 | void wxListBox::Delete( int WXUNUSED(n) ) | |
61 | { | |
62 | }; | |
63 | ||
64 | void wxListBox::Deselect( int WXUNUSED(n) ) | |
65 | { | |
66 | }; | |
67 | ||
68 | int wxListBox::FindString( const wxString &WXUNUSED(item) ) const | |
69 | { | |
70 | return -1; | |
71 | }; | |
72 | ||
73 | char *wxListBox::GetClientData( int WXUNUSED(n) ) const | |
74 | { | |
75 | return (char*)NULL; | |
76 | }; | |
77 | ||
78 | int wxListBox::GetSelection(void) const | |
79 | { | |
80 | return -1; | |
81 | }; | |
82 | ||
83 | int wxListBox::GetSelections( wxArrayInt& WXUNUSED(aSelections) ) const | |
84 | { | |
85 | return 0; | |
86 | }; | |
87 | ||
88 | wxString wxListBox::GetString( int WXUNUSED(n) ) const | |
89 | { | |
90 | return ""; | |
91 | }; | |
92 | ||
93 | wxString wxListBox::GetStringSelection(void) const | |
94 | { | |
95 | return ""; | |
96 | }; | |
97 | ||
98 | int wxListBox::Number(void) | |
99 | { | |
100 | return 0; | |
101 | }; | |
102 | ||
103 | bool wxListBox::Selected( int WXUNUSED(n) ) | |
104 | { | |
105 | return FALSE; | |
106 | }; | |
107 | ||
108 | void wxListBox::Set( int WXUNUSED(n), const wxString *WXUNUSED(choices) ) | |
109 | { | |
110 | }; | |
111 | ||
112 | void wxListBox::SetClientData( int WXUNUSED(n), char *WXUNUSED(clientData) ) | |
113 | { | |
114 | }; | |
115 | ||
116 | void wxListBox::SetFirstItem( int WXUNUSED(n) ) | |
117 | { | |
118 | }; | |
119 | ||
120 | void wxListBox::SetFirstItem( const wxString &WXUNUSED(item) ) | |
121 | { | |
122 | }; | |
123 | ||
124 | void wxListBox::SetSelection( int WXUNUSED(n), bool WXUNUSED(select) ) | |
125 | { | |
126 | }; | |
127 | ||
128 | void wxListBox::SetString( int WXUNUSED(n), const wxString &WXUNUSED(string) ) | |
129 | { | |
130 | }; | |
131 | ||
132 | void wxListBox::SetStringSelection( const wxString &WXUNUSED(string), bool WXUNUSED(select) ) | |
133 | { | |
134 | }; | |
135 | ||
136 | ||
137 |