]>
Commit | Line | Data |
---|---|---|
7c78e7c7 RR |
1 | ///////////////////////////////////////////////////////////////////////////// |
2 | // Name: combobox.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 | #ifdef __GNUG__ | |
12 | #pragma implementation "combobox.h" | |
13 | #endif | |
14 | ||
15 | #include "wx/combobox.h" | |
16 | ||
17 | //----------------------------------------------------------------------------- | |
18 | // wxComboBox | |
19 | //----------------------------------------------------------------------------- | |
20 | ||
21 | //----------------------------------------------------------------------------- | |
22 | ||
23 | IMPLEMENT_DYNAMIC_CLASS(wxComboBox,wxControl) | |
24 | ||
25 | bool wxComboBox::Create(wxWindow *parent, wxWindowID id, const wxString& value, | |
26 | const wxPoint& pos, const wxSize& size, int n, const wxString choices[], | |
27 | long style, const wxString& name ) | |
28 | { | |
29 | return TRUE; | |
30 | }; | |
31 | ||
32 | void wxComboBox::Clear(void) | |
33 | { | |
34 | }; | |
35 | ||
36 | void wxComboBox::Append( const wxString &item ) | |
37 | { | |
38 | Append( item, (char*)NULL ); | |
39 | }; | |
40 | ||
41 | void wxComboBox::Append( const wxString &WXUNUSED(item), char *WXUNUSED(clientData) ) | |
42 | { | |
43 | }; | |
44 | ||
45 | void wxComboBox::Delete( int WXUNUSED(n) ) | |
46 | { | |
47 | }; | |
48 | ||
49 | int wxComboBox::FindString( const wxString &WXUNUSED(item) ) | |
50 | { | |
51 | return -1; | |
52 | }; | |
53 | ||
54 | char* wxComboBox::GetClientData( int WXUNUSED(n) ) | |
55 | { | |
56 | return (char*)NULL; | |
57 | }; | |
58 | ||
59 | void wxComboBox::SetClientData( int WXUNUSED(n), char *WXUNUSED(clientData) ) | |
60 | { | |
61 | }; | |
62 | ||
63 | int wxComboBox::GetSelection(void) const | |
64 | { | |
65 | return -1; | |
66 | }; | |
67 | ||
68 | wxString wxComboBox::GetString( int WXUNUSED(n) ) const | |
69 | { | |
70 | return ""; | |
71 | }; | |
72 | ||
73 | wxString wxComboBox::GetStringSelection(void) const | |
74 | { | |
75 | return ""; | |
76 | }; | |
77 | ||
78 | int wxComboBox::Number(void) const | |
79 | { | |
80 | return 0; | |
81 | }; | |
82 | ||
83 | void wxComboBox::SetSelection( int WXUNUSED(n) ) | |
84 | { | |
85 | }; | |
86 | ||
87 | void wxComboBox::SetStringSelection( const wxString &string ) | |
88 | { | |
89 | int res = FindString( string ); | |
90 | if (res == -1) return; | |
91 | SetSelection( res ); | |
92 | }; | |
93 | ||
94 | wxString wxComboBox::GetValue(void) const | |
95 | { | |
96 | return ""; | |
97 | }; | |
98 | ||
99 | void wxComboBox::SetValue( const wxString& WXUNUSED(value) ) | |
100 | { | |
101 | }; | |
102 | ||
103 | void wxComboBox::Copy(void) | |
104 | { | |
105 | }; | |
106 | ||
107 | void wxComboBox::Cut(void) | |
108 | { | |
109 | }; | |
110 | ||
111 | void wxComboBox::Paste(void) | |
112 | { | |
113 | }; | |
114 | ||
115 | void wxComboBox::SetInsertionPoint( long WXUNUSED(pos) ) | |
116 | { | |
117 | }; | |
118 | ||
119 | void wxComboBox::SetInsertionPointEnd(void) | |
120 | { | |
121 | }; | |
122 | ||
123 | long wxComboBox::GetInsertionPoint(void) const | |
124 | { | |
125 | return 0; | |
126 | }; | |
127 | ||
128 | long wxComboBox::GetLastPosition(void) const | |
129 | { | |
130 | return 0; | |
131 | }; | |
132 | ||
133 | void wxComboBox::Replace( long WXUNUSED(from), long WXUNUSED(to), const wxString& WXUNUSED(value) ) | |
134 | { | |
135 | }; | |
136 | ||
137 | void wxComboBox::Remove(long WXUNUSED(from), long WXUNUSED(to) ) | |
138 | { | |
139 | }; | |
140 | ||
141 | void wxComboBox::SetSelection( long WXUNUSED(from), long WXUNUSED(to) ) | |
142 | { | |
143 | }; | |
144 | ||
145 | void wxComboBox::SetEditable( bool WXUNUSED(editable) ) | |
146 | { | |
147 | }; | |
148 | ||
149 |