]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/dataobj.cpp
Fixed error in moving code from app.cpp in evtloop.cpp - caused accelerator
[wxWidgets.git] / src / os2 / dataobj.cpp
index bfb2187205b770196b7427ca12d97094ec782c6e..9c94fc10e44fd812d2f3bc6cd85e2df799fc65dc 100644 (file)
 // 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: