]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/list.h
opaque toolbox structs under Classic break access to contrlDefProc
[wxWidgets.git] / include / wx / list.h
index 79a809ed59f31a7a79d32ca048e90a08c29327dd..1fd7c4808ef71c75dac0823eccb565b9b4eed2ef 100644 (file)
@@ -208,6 +208,9 @@ public:
         // count of items in the list
     size_t GetCount() const { return m_count; }
 
+        // return TRUE if this list is empty
+    bool IsEmpty() const { return m_count == 0; }
+
     // operations
 
         // delete all nodes