From: Stefan Csomor Date: Wed, 12 Jun 2013 05:25:22 +0000 (+0000) Subject: Clear is also expected to clear the text X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/1d90958ba35d07d364812b1c6e04def17f561ad8 Clear is also expected to clear the text git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74174 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/osx/cocoa/combobox.mm b/src/osx/cocoa/combobox.mm index c410bd23c4..5c1cdd7fe2 100644 --- a/src/osx/cocoa/combobox.mm +++ b/src/osx/cocoa/combobox.mm @@ -177,6 +177,7 @@ void wxNSComboBoxControl::Clear() { SendEvents(false); [m_comboBox removeAllItems]; + [m_comboBox setStringValue:@""]; SendEvents(true); }