]> git.saurik.com Git - wxWidgets.git/blame - src/qt/combobox.cpp
Added GSocket/wxSocket alias to socket.h to prevent us from using GSocket
[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
KB
18#if !USE_SHARED_LIBRARY
19IMPLEMENT_DYNAMIC_CLASS(wxComboBox, wxControl)
20#endif
7c78e7c7 21
01b2eeec
KB
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)
7c78e7c7 30{
01b2eeec
KB
31 SetName(name);
32 SetValidator(validator);
33 m_noStrings = n;
34 m_windowStyle = style;
7c78e7c7 35
01b2eeec 36 if (parent) parent->AddChild(this);
7c78e7c7 37
01b2eeec
KB
38 if ( id == -1 )
39 m_windowId = (int)NewControlId();
40 else
41 m_windowId = id;
7c78e7c7 42
01b2eeec 43 // TODO: create combobox control
7c78e7c7 44
01b2eeec
KB
45 return TRUE;
46}
7c78e7c7 47
01b2eeec 48wxString wxComboBox::GetValue() const
7c78e7c7 49{
01b2eeec
KB
50 // TODO
51 return wxString("");
52}
7c78e7c7 53
01b2eeec 54void wxComboBox::SetValue(const wxString& value)
7c78e7c7 55{
01b2eeec
KB
56 // TODO
57}
7c78e7c7 58
01b2eeec
KB
59// Clipboard operations
60void wxComboBox::Copy()
7c78e7c7 61{
01b2eeec
KB
62 // TODO
63}
7c78e7c7 64
01b2eeec 65void wxComboBox::Cut()
7c78e7c7 66{
01b2eeec
KB
67 // TODO
68}
7c78e7c7 69
01b2eeec 70void wxComboBox::Paste()
7c78e7c7 71{
01b2eeec
KB
72 // TODO
73}
7c78e7c7 74
01b2eeec 75void wxComboBox::SetEditable(bool editable)
7c78e7c7 76{
01b2eeec
KB
77 // TODO
78}
7c78e7c7 79
01b2eeec 80void wxComboBox::SetInsertionPoint(long pos)
7c78e7c7 81{
01b2eeec
KB
82 // TODO
83}
7c78e7c7 84
01b2eeec 85void wxComboBox::SetInsertionPointEnd()
7c78e7c7 86{
01b2eeec
KB
87 // TODO
88}
7c78e7c7 89
01b2eeec 90long wxComboBox::GetInsertionPoint() const
7c78e7c7 91{
01b2eeec
KB
92 // TODO
93 return 0;
94}
7c78e7c7 95
01b2eeec 96long wxComboBox::GetLastPosition() const
7c78e7c7 97{
01b2eeec
KB
98 // TODO
99 return 0;
100}
7c78e7c7 101
01b2eeec 102void wxComboBox::Replace(long from, long to, const wxString& value)
7c78e7c7 103{
01b2eeec
KB
104 // TODO
105}
7c78e7c7 106
01b2eeec 107void wxComboBox::Remove(long from, long to)
7c78e7c7 108{
01b2eeec
KB
109 // TODO
110}
7c78e7c7 111
01b2eeec 112void wxComboBox::SetSelection(long from, long to)
7c78e7c7 113{
01b2eeec
KB
114 // TODO
115}
7c78e7c7 116