]> git.saurik.com Git - wxWidgets.git/blame - src/qt/combobox.cpp
Added wxDC:DrawPolygone
[wxWidgets.git] / src / qt / combobox.cpp
CommitLineData
7c78e7c7
RR
1/////////////////////////////////////////////////////////////////////////////
2// Name: combobox.cpp
3// Purpose:
4// Author: Robert Roebling
5// Created: 01/02/97
6// Id:
7// Copyright: (c) 1998 Robert Roebling, Julian Smart and Markus Holzem
8// Licence: wxWindows licence
9/////////////////////////////////////////////////////////////////////////////
10
11#ifdef __GNUG__
12#pragma implementation "combobox.h"
13#endif
14
15#include "wx/combobox.h"
16
17//-----------------------------------------------------------------------------
18// wxComboBox
19//-----------------------------------------------------------------------------
20
21//-----------------------------------------------------------------------------
22
23IMPLEMENT_DYNAMIC_CLASS(wxComboBox,wxControl)
24
25bool wxComboBox::Create(wxWindow *parent, wxWindowID id, const wxString& value,
26 const wxPoint& pos, const wxSize& size, int n, const wxString choices[],
27 long style, const wxString& name )
28{
29 return TRUE;
30};
31
32void wxComboBox::Clear(void)
33{
34};
35
36void wxComboBox::Append( const wxString &item )
37{
38 Append( item, (char*)NULL );
39};
40
41void wxComboBox::Append( const wxString &WXUNUSED(item), char *WXUNUSED(clientData) )
42{
43};
44
45void wxComboBox::Delete( int WXUNUSED(n) )
46{
47};
48
49int wxComboBox::FindString( const wxString &WXUNUSED(item) )
50{
51 return -1;
52};
53
54char* wxComboBox::GetClientData( int WXUNUSED(n) )
55{
56 return (char*)NULL;
57};
58
59void wxComboBox::SetClientData( int WXUNUSED(n), char *WXUNUSED(clientData) )
60{
61};
62
63int wxComboBox::GetSelection(void) const
64{
65 return -1;
66};
67
68wxString wxComboBox::GetString( int WXUNUSED(n) ) const
69{
70 return "";
71};
72
73wxString wxComboBox::GetStringSelection(void) const
74{
75 return "";
76};
77
78int wxComboBox::Number(void) const
79{
80 return 0;
81};
82
83void wxComboBox::SetSelection( int WXUNUSED(n) )
84{
85};
86
87void wxComboBox::SetStringSelection( const wxString &string )
88{
89 int res = FindString( string );
90 if (res == -1) return;
91 SetSelection( res );
92};
93
94wxString wxComboBox::GetValue(void) const
95{
96 return "";
97};
98
99void wxComboBox::SetValue( const wxString& WXUNUSED(value) )
100{
101};
102
103void wxComboBox::Copy(void)
104{
105};
106
107void wxComboBox::Cut(void)
108{
109};
110
111void wxComboBox::Paste(void)
112{
113};
114
115void wxComboBox::SetInsertionPoint( long WXUNUSED(pos) )
116{
117};
118
119void wxComboBox::SetInsertionPointEnd(void)
120{
121};
122
123long wxComboBox::GetInsertionPoint(void) const
124{
125 return 0;
126};
127
128long wxComboBox::GetLastPosition(void) const
129{
130 return 0;
131};
132
133void wxComboBox::Replace( long WXUNUSED(from), long WXUNUSED(to), const wxString& WXUNUSED(value) )
134{
135};
136
137void wxComboBox::Remove(long WXUNUSED(from), long WXUNUSED(to) )
138{
139};
140
141void wxComboBox::SetSelection( long WXUNUSED(from), long WXUNUSED(to) )
142{
143};
144
145void wxComboBox::SetEditable( bool WXUNUSED(editable) )
146{
147};
148
149