]> git.saurik.com Git - wxWidgets.git/blob - src/qt/combobox.cpp
OS/2 version was using ~ instead of * for a termination character so
[wxWidgets.git] / src / qt / combobox.cpp
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 IMPLEMENT_DYNAMIC_CLASS(wxComboBox, wxControl)
19
20 bool wxComboBox::Create(wxWindow *parent, wxWindowID id,
21 const wxString& value,
22 const wxPoint& pos,
23 const wxSize& size,
24 int n, const wxString choices[],
25 long style,
26 const wxValidator& validator,
27 const wxString& name)
28 {
29 SetName(name);
30 SetValidator(validator);
31 m_noStrings = n;
32 m_windowStyle = style;
33
34 if (parent) parent->AddChild(this);
35
36 if ( id == -1 )
37 m_windowId = (int)NewControlId();
38 else
39 m_windowId = id;
40
41 // TODO: create combobox control
42
43 return TRUE;
44 }
45
46 wxString wxComboBox::GetValue() const
47 {
48 // TODO
49 return wxString("");
50 }
51
52 void wxComboBox::SetValue(const wxString& value)
53 {
54 // TODO
55 }
56
57 // Clipboard operations
58 void wxComboBox::Copy()
59 {
60 // TODO
61 }
62
63 void wxComboBox::Cut()
64 {
65 // TODO
66 }
67
68 void wxComboBox::Paste()
69 {
70 // TODO
71 }
72
73 void wxComboBox::SetEditable(bool editable)
74 {
75 // TODO
76 }
77
78 void wxComboBox::SetInsertionPoint(long pos)
79 {
80 // TODO
81 }
82
83 void wxComboBox::SetInsertionPointEnd()
84 {
85 // TODO
86 }
87
88 long wxComboBox::GetInsertionPoint() const
89 {
90 // TODO
91 return 0;
92 }
93
94 long wxComboBox::GetLastPosition() const
95 {
96 // TODO
97 return 0;
98 }
99
100 void wxComboBox::Replace(long from, long to, const wxString& value)
101 {
102 // TODO
103 }
104
105 void wxComboBox::Remove(long from, long to)
106 {
107 // TODO
108 }
109
110 void wxComboBox::SetSelection(long from, long to)
111 {
112 // TODO
113 }
114