git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21895
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
// count on it)!
#define WX_CLEAR_HASH_MAP(type, hashmap) \
{ \
// 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(); \
for( it = (hashmap).begin(), en = (hashmap).end(); it != en; ++it ) \
delete it->second; \
(hashmap).clear(); \