BC++ and Watcom C++ makefile and source fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4152 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -451,11 +451,11 @@ STDMETHODIMP wxIDataObject::SetData(FORMATETC *pformatetc,
|
||||
case CF_OEMTEXT:
|
||||
size = strlen((const char *)pBuf);
|
||||
break;
|
||||
|
||||
#ifndef __WATCOMC__
|
||||
case CF_UNICODETEXT:
|
||||
size = wcslen((const wchar_t *)pBuf);
|
||||
break;
|
||||
|
||||
#endif
|
||||
case CF_BITMAP:
|
||||
case CF_HDROP:
|
||||
// these formats don't use size at all, anyhow (but
|
||||
|
Reference in New Issue
Block a user