Fix Cygwin/makefiles compilation (backport from trunk).

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18710 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Mattia Barbon
2003-01-13 18:25:26 +00:00
parent 5228a0a58d
commit d4118cc7b1

View File

@@ -474,7 +474,7 @@ STDMETHODIMP wxIDataObject::SetData(FORMATETC *pformatetc,
|| ( defined(__MWERKS__) && defined(__WXMSW__) )
size = std::wcslen((const wchar_t *)pBuf) * sizeof(wchar_t);
#else
size = ::wcslen((const wchar_t *)pBuf) * sizeof(wchar_t);
size = ::wxWcslen((const wchar_t *)pBuf) * sizeof(wchar_t);
#endif
break;
#endif