X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4fd899b671b25d3671e3fceb1b59f8edd9113af9..e50d5284f9b468609e4b55b69329a6e83a1d0c8e:/src/os2/dataobj.cpp diff --git a/src/os2/dataobj.cpp b/src/os2/dataobj.cpp index 5ec5bb269d..2b1084a421 100644 --- a/src/os2/dataobj.cpp +++ b/src/os2/dataobj.cpp @@ -6,7 +6,7 @@ // Created: 10/21/99 // RCS-ID: $Id$ // Copyright: (c) 1999 David Webster -// Licence: wxWindows license +// Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// // ============================================================================ @@ -173,9 +173,11 @@ void CIDataObject::SetData ( ulSize = strlen((const char *)pzBuffer); break; +#if wxUSE_UNICODE case wxDF_UNICODETEXT: ulSize = ::wcslen((const wchar_t *)pzBuffer); break; +#endif case wxDF_BITMAP: case wxDF_METAFILE: