disambiguate between 2 base class IsEmpty() versions too (bug 1831121)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49912 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2007-11-13 15:22:40 +00:00
parent a790886d7f
commit f7dfb0b59f

View File

@ -29,13 +29,15 @@ class WXDLLEXPORT wxComboBoxBase : public wxItemContainer,
public wxTextEntry
{
public:
// override this to disambiguate between two base classes versions
// override these methods to disambiguate between two base classes versions
virtual void Clear()
{
wxTextEntry::Clear();
wxItemContainer::Clear();
}
bool IsEmpty() const { return wxItemContainer::IsEmpty(); }
// also bring in GetSelection() versions of both base classes in scope
//
// NB: GetSelection(from, to) could be already implemented in wxTextEntry