]> git.saurik.com Git - wxWidgets.git/blobdiff - src/x11/clipbrd.cpp
forcefully disable wxUSE_STD_STRING and wxUSE_STL for Digital Mars and Open Watcom
[wxWidgets.git] / src / x11 / clipbrd.cpp
index 1ae753aec7a944efa3805679eac298891fa1c834..80a7a15d25a331ed6d2ab48df0137e48d861939f 100644 (file)
@@ -249,7 +249,7 @@ selection_handler( GtkWidget *WXUNUSED(widget),
 
     // transform Unicode text into multibyte before putting it on clipboard
 #if wxUSE_UNICODE
-    if ( format.GetType() == wxDF_TEXT )
+    if ( format.GetType() == wxDF_TEXT || format.GetType() == wxDF_UNICODETEXT)
     {
         const wchar_t *wstr = (const wchar_t *)d;
         size_t len = wxConvCurrent->WC2MB(NULL, wstr, 0);