]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/combobox.h
Replace wxComboBox::IsEmpty() with Is{List,Text}Empty().
[wxWidgets.git] / include / wx / msw / combobox.h
index f656e081e80dd23cb788540a39d9a08e834b07f9..4f4a99458b980d5418c4bb5bba2f3ed39b9f99c5 100644 (file)
@@ -75,6 +75,10 @@ public:
                 const wxValidator& validator = wxDefaultValidator,
                 const wxString& name = wxComboBoxNameStr);
 
+    // See wxComboBoxBase discussion of IsEmpty().
+    bool IsListEmpty() const { return wxItemContainer::IsEmpty(); }
+    bool IsTextEmpty() const { return wxTextEntry::IsEmpty(); }
+
     // resolve ambiguities among virtual functions inherited from both base
     // classes
     virtual void Clear();