From: David Elliott Date: Thu, 26 Jul 2007 18:40:44 +0000 (+0000) Subject: Add a Clear() method simply calling the wxComboBoxBase::Clear() to X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/05ef417f46af3a1e92f71a7fdf19a17361fca8e2 Add a Clear() method simply calling the wxComboBoxBase::Clear() to 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 --- diff --git a/include/wx/cocoa/combobox.h b/include/wx/cocoa/combobox.h index 9423b28d94..542626f165 100644 --- a/include/wx/cocoa/combobox.h +++ b/include/wx/cocoa/combobox.h @@ -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