X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6aa89a22b8e47000c98bff05c6f545f331f1c353..6ce43ac97db5cab1373d2e3c158849faffa8128d:/src/os2/dataobj.cpp diff --git a/src/os2/dataobj.cpp b/src/os2/dataobj.cpp index bfb2187205..9c94fc10e4 100644 --- a/src/os2/dataobj.cpp +++ b/src/os2/dataobj.cpp @@ -41,10 +41,6 @@ // functions // ---------------------------------------------------------------------------- -#ifdef __WXDEBUG__ - static const wxChar *GetTymedName(DWORD tymed); -#endif // Debug - // ---------------------------------------------------------------------------- // wxDataFormat // ---------------------------------------------------------------------------- @@ -173,9 +169,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: