git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12489
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
// this case
size_t lenAnsi = help.Len();
// this case
size_t lenAnsi = help.Len();
+ #if defined( __MWERKS__ ) || defined( __CYGWIN__ )
// MetroWerks doesn't like calling mbstowcs with NULL argument
// MetroWerks doesn't like calling mbstowcs with NULL argument
size_t lenUnicode = 2*lenAnsi;
#else
size_t lenUnicode = mbstowcs(NULL, help, lenAnsi);
size_t lenUnicode = 2*lenAnsi;
#else
size_t lenUnicode = mbstowcs(NULL, help, lenAnsi);