X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/684d26bb27e3c0072ef947c2aa45dd863353d7cf..8a82c9ecc9a2cba9727b538c818ebdba243eacbc:/include/wx/hash.h diff --git a/include/wx/hash.h b/include/wx/hash.h index cc03625dc4..0b3470f6d8 100644 --- a/include/wx/hash.h +++ b/include/wx/hash.h @@ -12,7 +12,7 @@ #ifndef _WX_HASH_H__ #define _WX_HASH_H__ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "hash.h" #endif @@ -428,6 +428,8 @@ public: } void Clear() { wxHashTableBase::Clear(); } + + size_t GetCount() const { return wxHashTableBase::GetCount(); } private: compatibility_iterator m_iter; };