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:
Julian Smart
2003-07-15 13:15:48 +00:00
parent 1dedb80b26
commit 529b7f71bd
7 changed files with 16 additions and 8 deletions

View File

@@ -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