static void** AllocTable( size_t sz )
{
-#ifdef __WXWINCE__
- return (void **)malloc(sz * sizeof(void*));
-#else
return (void **)calloc(sz, sizeof(void*));
-#endif
}
};
// 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(); \