Small tweaks for WinCE compatibility
Use generic folder dialog for WinCE git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21986 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -75,7 +75,9 @@ protected:
|
||||
static void** AllocTable( size_t sz )
|
||||
{
|
||||
#ifdef __WXWINCE__
|
||||
return (void **)malloc(sz * sizeof(void*));
|
||||
void** ptr = (void **)malloc(sz * sizeof(void*));
|
||||
memset( ptr, 0, sz * sizeof(void*));
|
||||
return ptr;
|
||||
#else
|
||||
return (void **)calloc(sz, sizeof(void*));
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user