use memcpy() instead of wxTmemcpy() as the latter is defined in wx/wxcrt.h which includes wx/string.h and hence can't be used from here

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54017 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2008-06-07 15:12:23 +00:00
parent 05b4b8ee88
commit 39329d2edd

View File

@ -2895,7 +2895,7 @@ public:
len = lenWanted - 1;
}
wxTmemcpy(m_buf.data(), buf, len + 1);
memcpy(m_buf.data(), buf, (len + 1)*sizeof(CharType));
}
//else: conversion failed, this can happen when trying to get Unicode
// string contents into a char string