diff --git a/src/generic/odcombo.cpp b/src/generic/odcombo.cpp index fd3061e414..9c0a21a489 100644 --- a/src/generic/odcombo.cpp +++ b/src/generic/odcombo.cpp @@ -988,7 +988,14 @@ void wxOwnerDrawnComboBox::DoClear() // There is no text entry when using wxCB_READONLY style, so test for it. if ( GetTextCtrl() ) + { +#ifdef __WXOSX__ + // this has to be rerouted to the text control explicitly on macOS + GetTextCtrl()->Clear(); +#else wxTextEntry::Clear(); +#endif + } } void wxOwnerDrawnComboBox::Clear()