]> git.saurik.com Git - wxWidgets.git/blame - src/stubs/combobox.cpp
Changes to allow Cygwin to compile in non-PCH mode
[wxWidgets.git] / src / stubs / combobox.cpp
CommitLineData
93cf77c0
JS
1/////////////////////////////////////////////////////////////////////////////
2// Name: combobox.cpp
3// Purpose: wxComboBox class
4// Author: AUTHOR
5// Modified by:
6// Created: ??/??/98
7// RCS-ID: $Id$
8// Copyright: (c) AUTHOR
9// Licence: wxWindows licence
10/////////////////////////////////////////////////////////////////////////////
11
12#ifdef __GNUG__
13#pragma implementation "combobox.h"
14#endif
15
16#include "wx/combobox.h"
17
18#if !USE_SHARED_LIBRARY
19IMPLEMENT_DYNAMIC_CLASS(wxComboBox, wxControl)
20#endif
21
22bool wxComboBox::Create(wxWindow *parent, wxWindowID id,
23 const wxString& value,
24 const wxPoint& pos,
25 const wxSize& size,
26 int n, const wxString choices[],
27 long style,
28 const wxValidator& validator,
29 const wxString& name)
30{
31 SetName(name);
32 SetValidator(validator);
33 m_noStrings = n;
34 m_windowStyle = style;
35
36 if (parent) parent->AddChild(this);
37
38 if ( id == -1 )
39 m_windowId = (int)NewControlId();
40 else
41 m_windowId = id;
42
43 // TODO: create combobox control
44
45 return TRUE;
46}
47
48wxString wxComboBox::GetValue() const
49{
50 // TODO
51 return wxString("");
52}
53
54void wxComboBox::SetValue(const wxString& value)
55{
56 // TODO
57}
58
59// Clipboard operations
60void wxComboBox::Copy()
61{
62 // TODO
63}
64
65void wxComboBox::Cut()
66{
67 // TODO
68}
69
70void wxComboBox::Paste()
71{
72 // TODO
73}
74
75void wxComboBox::SetEditable(bool editable)
76{
77 // TODO
78}
79
80void wxComboBox::SetInsertionPoint(long pos)
81{
82 // TODO
83}
84
85void wxComboBox::SetInsertionPointEnd()
86{
87 // TODO
88}
89
90long wxComboBox::GetInsertionPoint() const
91{
92 // TODO
93 return 0;
94}
95
96long wxComboBox::GetLastPosition() const
97{
98 // TODO
99 return 0;
100}
101
102void wxComboBox::Replace(long from, long to, const wxString& value)
103{
104 // TODO
105}
106
107void wxComboBox::Remove(long from, long to)
108{
109 // TODO
110}
111
112void wxComboBox::SetSelection(long from, long to)
113{
114 // TODO
115}
116
8aa04e8b
JS
117void wxComboBox::Append(const wxString& item)
118{
119 // TODO
120}
121
122void wxComboBox::Delete(int n)
123{
124 // TODO
125}
126
127void wxComboBox::Clear()
128{
129 // TODO
130}
131
132int wxComboBox::GetSelection() const
133{
134 // TODO
135 return -1;
136}
137
138void wxComboBox::SetSelection(int n)
139{
140 // TODO
141}
142
143int wxComboBox::FindString(const wxString& s) const
144{
145 // TODO
146 return -1;
147}
148
149wxString wxComboBox::GetString(int n) const
150{
151 // TODO
152 return wxString("");
153}
154
155wxString wxComboBox::GetStringSelection() const
156{
157 // TODO
158 return wxString("");
159}
160
161bool wxComboBox::SetStringSelection(const wxString& sel)
162{
163 // TODO
164 return FALSE;
165}