X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f36e602b3f4cccedfa2d8932c288f3dfed7b549e..2ef989c972df0bd023ec3b7252fb91afca55f8ab:/include/wx/combobox.h diff --git a/include/wx/combobox.h b/include/wx/combobox.h index ac02a10a32..4f98670f68 100644 --- a/include/wx/combobox.h +++ b/include/wx/combobox.h @@ -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