X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/131b1fba9dbedc86a0b5d7861ca374800f3ad40d..28bf925c65ac2ccda970d4ab6fb2ba4e3a4168c7:/src/univ/combobox.cpp diff --git a/src/univ/combobox.cpp b/src/univ/combobox.cpp index dadd741eae..2656c76d15 100644 --- a/src/univ/combobox.cpp +++ b/src/univ/combobox.cpp @@ -283,6 +283,11 @@ void wxComboBox::SetValue(const wxString& value) wxComboCtrl::SetValue(value); } +void wxComboBox::WriteText(const wxString& value) +{ + if ( GetTextCtrl() ) GetTextCtrl()->WriteText(value); +} + void wxComboBox::Copy() { if ( GetTextCtrl() ) GetTextCtrl()->Copy(); @@ -337,6 +342,11 @@ void wxComboBox::SetSelection(long from, long to) if ( GetTextCtrl() ) GetTextCtrl()->SetSelection(from, to); } +void wxComboBox::GetSelection(long *from, long *to) const +{ + if ( GetTextCtrl() ) GetTextCtrl()->GetSelection(from, to); +} + void wxComboBox::SetEditable(bool editable) { if ( GetTextCtrl() ) GetTextCtrl()->SetEditable(editable); @@ -412,6 +422,16 @@ int wxComboBox::GetSelection() const #endif } +wxString wxComboBox::GetStringSelection() const +{ + return GetLBox()->GetStringSelection(); +} + +wxClientDataType wxComboBox::GetClientDataType() const +{ + return GetLBox()->GetClientDataType(); +} + void wxComboBox::SetClientDataType(wxClientDataType clientDataItemsType) { GetLBox()->SetClientDataType(clientDataItemsType);