]>
git.saurik.com Git - wxWidgets.git/blob - src/stubs/combobox.cpp
1 /////////////////////////////////////////////////////////////////////////////
3 // Purpose: wxComboBox class
8 // Copyright: (c) AUTHOR
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
13 #pragma implementation "combobox.h"
16 #include "wx/combobox.h"
18 #if !USE_SHARED_LIBRARY
19 IMPLEMENT_DYNAMIC_CLASS(wxComboBox
, wxControl
)
22 bool wxComboBox::Create(wxWindow
*parent
, wxWindowID id
,
23 const wxString
& value
,
26 int n
, const wxString choices
[],
28 const wxValidator
& validator
,
32 SetValidator(validator
);
34 m_windowStyle
= style
;
36 if (parent
) parent
->AddChild(this);
39 m_windowId
= (int)NewControlId();
43 // TODO: create combobox control
48 wxString
wxComboBox::GetValue() const
54 void wxComboBox::SetValue(const wxString
& value
)
59 // Clipboard operations
60 void wxComboBox::Copy()
65 void wxComboBox::Cut()
70 void wxComboBox::Paste()
75 void wxComboBox::SetEditable(bool editable
)
80 void wxComboBox::SetInsertionPoint(long pos
)
85 void wxComboBox::SetInsertionPointEnd()
90 long wxComboBox::GetInsertionPoint() const
96 long wxComboBox::GetLastPosition() const
102 void wxComboBox::Replace(long from
, long to
, const wxString
& value
)
107 void wxComboBox::Remove(long from
, long to
)
112 void wxComboBox::SetSelection(long from
, long to
)