]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/dataobj.cpp
docs and example for wxDC::DrawPolyPolygon() (patch 882189)
[wxWidgets.git] / src / os2 / dataobj.cpp
index bfb2187205b770196b7427ca12d97094ec782c6e..2b1084a421630432c23bb38b80b4bbf669b2ec9c 100644 (file)
@@ -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: