X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/af49c4b8a2d3553e733e71c7dd3911881f4c1a2a..6c99908c512489b614fb7a4fb010b1d6c2a6857e:/include/wx/ctrlsub.h diff --git a/include/wx/ctrlsub.h b/include/wx/ctrlsub.h index 0b98232f3d..93ed78cfde 100644 --- a/include/wx/ctrlsub.h +++ b/include/wx/ctrlsub.h @@ -57,6 +57,8 @@ public: // ----------------- virtual int GetCount() const = 0; + bool IsEmpty() const { return GetCount() == 0; } + virtual wxString GetString(int n) const = 0; virtual void SetString(int n, const wxString& s) = 0; virtual int FindString(const wxString& s) const = 0;