git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30240
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
if (buf == NULL)
{
//apple specs say at least 32
if (buf == NULL)
{
//apple specs say at least 32
- n = max( 32 , byteInLen ) ;
+ n = wxMax( 32 , byteInLen ) ;
tbuf = (wchar_t*) malloc( n * SIZEOF_WCHAR_T) ;
}
ByteCount byteBufferLen = n * sizeof( UniChar ) ;
tbuf = (wchar_t*) malloc( n * SIZEOF_WCHAR_T) ;
}
ByteCount byteBufferLen = n * sizeof( UniChar ) ;
if (buf == NULL)
{
//apple specs say at least 32
if (buf == NULL)
{
//apple specs say at least 32
- n = max( 32 , ((byteInLen / SIZEOF_WCHAR_T) * 8) + SIZEOF_WCHAR_T );
+ n = wxMax( 32 , ((byteInLen / SIZEOF_WCHAR_T) * 8) + SIZEOF_WCHAR_T );
tbuf = (char*) malloc( n ) ;
}
tbuf = (char*) malloc( n ) ;
}