X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4e67bfc7a40d674037d7b0b5d5b57a9d062c2ddf..981b25083e41288f142e717f917e709347c34a02:/include/wx/hash.h diff --git a/include/wx/hash.h b/include/wx/hash.h index 4634f96313..2e17fb019c 100644 --- a/include/wx/hash.h +++ b/include/wx/hash.h @@ -99,6 +99,12 @@ class WXDLLEXPORT wxHashTable: public wxObject void DeleteContents(bool flag); void Clear(void); + // Returns number of nodes + size_t GetCount() const { return m_count; } + + private: + size_t m_count; // number of elements in the hashtable + }; #endif