From 797f8d96412dcc04c3ff47bb938217d6f28c5e7e Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Fri, 10 Nov 2006 20:37:41 +0000 Subject: [PATCH] redirecting missing implementations to textctrl git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43289 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/mac/carbon/combobox.cpp | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/src/mac/carbon/combobox.cpp b/src/mac/carbon/combobox.cpp index d3f6965aa7..6a155d9636 100644 --- a/src/mac/carbon/combobox.cpp +++ b/src/mac/carbon/combobox.cpp @@ -468,39 +468,46 @@ void wxComboBox::SetEditable(bool editable) void wxComboBox::SetInsertionPoint(long pos) { - // TODO + if ( m_text ) + m_text->SetInsertionPoint(pos); } void wxComboBox::SetInsertionPointEnd() { - // TODO + if ( m_text ) + m_text->SetInsertionPointEnd(); } long wxComboBox::GetInsertionPoint() const { - // TODO + if ( m_text ) + return m_text->GetInsertionPoint(); return 0; } wxTextPos wxComboBox::GetLastPosition() const { - // TODO + if ( m_text ) + return m_text->GetLastPosition(); return 0; } void wxComboBox::Replace(long from, long to, const wxString& value) { - // TODO + if ( m_text ) + m_text->Replace(from,to,value); } void wxComboBox::Remove(long from, long to) { - // TODO + if ( m_text ) + m_text->Remove(from,to); } void wxComboBox::SetSelection(long from, long to) { - // TODO + if ( m_text ) + m_text->SetSelection(from,to); } int wxComboBox::DoAppend(const wxString& item) -- 2.45.2