]> git.saurik.com Git - wxWidgets.git/blame_incremental - src/qt/combobox.cpp
added mingw32 host platform to configure.in, added WINVER define for windows
[wxWidgets.git] / src / qt / combobox.cpp
... / ...
CommitLineData
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