]> git.saurik.com Git - wxWidgets.git/commitdiff
Clear is also expected to clear the text
authorStefan Csomor <csomor@advancedconcepts.ch>
Wed, 12 Jun 2013 05:25:22 +0000 (05:25 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Wed, 12 Jun 2013 05:25:22 +0000 (05:25 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74174 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/osx/cocoa/combobox.mm

index c410bd23c4653583e6495052cad36e6b99541e14..5c1cdd7fe2453428c3d1ffbe708d7cb8dec187d9 100644 (file)
@@ -177,6 +177,7 @@ void wxNSComboBoxControl::Clear()
 {
     SendEvents(false);
     [m_comboBox removeAllItems];
+    [m_comboBox setStringValue:@""];
     SendEvents(true);
 }