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
This commit is contained in:
@@ -101,6 +101,10 @@ protected:
|
|||||||
// Implementation
|
// Implementation
|
||||||
// ------------------------------------------------------------------------
|
// ------------------------------------------------------------------------
|
||||||
public:
|
public:
|
||||||
|
// FIXME: Quit deriving from wxTextCtrl
|
||||||
|
void Clear() // HACK
|
||||||
|
{ wxComboBoxBase::Clear(); }
|
||||||
|
|
||||||
// wxCombobox methods
|
// wxCombobox methods
|
||||||
virtual void SetSelection(int pos);
|
virtual void SetSelection(int pos);
|
||||||
// Overlapping methods
|
// Overlapping methods
|
||||||
|
Reference in New Issue
Block a user