X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/df5168c427b51f1ab2b3200a5c8f7626b3d24aae..ed86d880f1249eaf0c5a1e860c3141ed0d470955:/include/wx/hashmap.h?ds=sidebyside diff --git a/include/wx/hashmap.h b/include/wx/hashmap.h index 554030a564..896cd12db0 100644 --- a/include/wx/hashmap.h +++ b/include/wx/hashmap.h @@ -20,6 +20,10 @@ #include // for ptrdiff_t +#ifdef __WXWINCE__ +typedef int ptrdiff_t; +#endif + // private struct WXDLLIMPEXP_BASE _wxHashTable_NodeBase { @@ -571,7 +575,7 @@ public: \ // count on it)! #define WX_CLEAR_HASH_MAP(type, hashmap) \ { \ - type##::iterator it, en; \ + type::iterator it, en; \ for( it = (hashmap).begin(), en = (hashmap).end(); it != en; ++it ) \ delete it->second; \ (hashmap).clear(); \