]> git.saurik.com Git - wxWidgets.git/commitdiff
Add a Clear() method simply calling the wxComboBoxBase::Clear() to
authorDavid Elliott <dfe@tgwbd.org>
Thu, 26 Jul 2007 18:40:44 +0000 (18:40 +0000)
committerDavid Elliott <dfe@tgwbd.org>
Thu, 26 Jul 2007 18:40:44 +0000 (18:40 +0000)
disambiguate it with wxTextCtrl::Clear() since wxCocoa's wxComboBox derives
from wxTextCtrl for some reason.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47738 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/cocoa/combobox.h

index 9423b28d94d9b0caba629b798fa8273310c84405..542626f165af9783de9b88a0803f734d15a9093e 100644 (file)
@@ -101,6 +101,10 @@ protected:
 // Implementation
 // ------------------------------------------------------------------------
 public:
+    // FIXME: Quit deriving from wxTextCtrl
+    void Clear() // HACK
+    {   wxComboBoxBase::Clear(); }
+
     // wxCombobox methods
     virtual void SetSelection(int pos);
     // Overlapping methods