X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9044b125fd8542dab159d4a1585aae62e5547ae6..ee032c59df7ac4facdfdffce016768ab858e18c0:/src/osx/carbon/combobox.cpp diff --git a/src/osx/carbon/combobox.cpp b/src/osx/carbon/combobox.cpp index 54c70ebca5..53b729485e 100644 --- a/src/osx/carbon/combobox.cpp +++ b/src/osx/carbon/combobox.cpp @@ -394,6 +394,13 @@ bool wxComboBox::Create(wxWindow *parent, return true; } +wxString wxComboBox::DoGetValue() const +{ + wxCHECK_MSG( m_text, wxString(), "can't be called for read-only combobox" ); + + return m_text->GetValue(); +} + wxString wxComboBox::GetValue() const { wxString result; @@ -652,7 +659,7 @@ bool wxComboBox::CanRedo() const return false; } -bool wxComboBox::HandleClicked( double timestampsec ) +bool wxComboBox::OSXHandleClicked( double WXUNUSED(timestampsec) ) { /* For consistency with other platforms, clicking in the text area does not constitute a selection