]> git.saurik.com Git - wxWidgets.git/blame - src/qt/combobox.cpp
fixed wxTextFile::GuessType assertion
[wxWidgets.git] / src / qt / combobox.cpp
CommitLineData
7c78e7c7
RR
1/////////////////////////////////////////////////////////////////////////////
2// Name: combobox.cpp
01b2eeec
KB
3// Purpose: wxComboBox class
4// Author: AUTHOR
5// Modified by:
6// Created: ??/??/98
7// RCS-ID: $Id$
8// Copyright: (c) AUTHOR
7c78e7c7
RR
9// Licence: wxWindows licence
10/////////////////////////////////////////////////////////////////////////////
11
12#ifdef __GNUG__
13#pragma implementation "combobox.h"
14#endif
15
16#include "wx/combobox.h"
17
01b2eeec 18IMPLEMENT_DYNAMIC_CLASS(wxComboBox, wxControl)
7c78e7c7 19
01b2eeec
KB
20bool 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)
7c78e7c7 28{
01b2eeec
KB
29 SetName(name);
30 SetValidator(validator);
31 m_noStrings = n;
32 m_windowStyle = style;
7c78e7c7 33
01b2eeec 34 if (parent) parent->AddChild(this);
7c78e7c7 35
01b2eeec
KB
36 if ( id == -1 )
37 m_windowId = (int)NewControlId();
38 else
39 m_windowId = id;
7c78e7c7 40
01b2eeec 41 // TODO: create combobox control
7c78e7c7 42
01b2eeec
KB
43 return TRUE;
44}
7c78e7c7 45
01b2eeec 46wxString wxComboBox::GetValue() const
7c78e7c7 47{
01b2eeec
KB
48 // TODO
49 return wxString("");
50}
7c78e7c7 51
01b2eeec 52void wxComboBox::SetValue(const wxString& value)
7c78e7c7 53{
01b2eeec
KB
54 // TODO
55}
7c78e7c7 56
01b2eeec
KB
57// Clipboard operations
58void wxComboBox::Copy()
7c78e7c7 59{
01b2eeec
KB
60 // TODO
61}
7c78e7c7 62
01b2eeec 63void wxComboBox::Cut()
7c78e7c7 64{
01b2eeec
KB
65 // TODO
66}
7c78e7c7 67
01b2eeec 68void wxComboBox::Paste()
7c78e7c7 69{
01b2eeec
KB
70 // TODO
71}
7c78e7c7 72
01b2eeec 73void wxComboBox::SetEditable(bool editable)
7c78e7c7 74{
01b2eeec
KB
75 // TODO
76}
7c78e7c7 77
01b2eeec 78void wxComboBox::SetInsertionPoint(long pos)
7c78e7c7 79{
01b2eeec
KB
80 // TODO
81}
7c78e7c7 82
01b2eeec 83void wxComboBox::SetInsertionPointEnd()
7c78e7c7 84{
01b2eeec
KB
85 // TODO
86}
7c78e7c7 87
01b2eeec 88long wxComboBox::GetInsertionPoint() const
7c78e7c7 89{
01b2eeec
KB
90 // TODO
91 return 0;
92}
7c78e7c7 93
01b2eeec 94long wxComboBox::GetLastPosition() const
7c78e7c7 95{
01b2eeec
KB
96 // TODO
97 return 0;
98}
7c78e7c7 99
01b2eeec 100void wxComboBox::Replace(long from, long to, const wxString& value)
7c78e7c7 101{
01b2eeec
KB
102 // TODO
103}
7c78e7c7 104
01b2eeec 105void wxComboBox::Remove(long from, long to)
7c78e7c7 106{
01b2eeec
KB
107 // TODO
108}
7c78e7c7 109
01b2eeec 110void wxComboBox::SetSelection(long from, long to)
7c78e7c7 111{
01b2eeec
KB
112 // TODO
113}
7c78e7c7 114