]> git.saurik.com Git - wxWidgets.git/commitdiff
Use UTF16 for text data object on Mac. Fixes #10902
authorRobin Dunn <robin@alldunn.com>
Thu, 18 Jun 2009 06:18:50 +0000 (06:18 +0000)
committerRobin Dunn <robin@alldunn.com>
Thu, 18 Jun 2009 06:18:50 +0000 (06:18 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61111 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/dataobj.h

index 9421034bacc2622872229ba67af952377a566d6c..7eb724f3957ee00e569910269e1e7c3997c89182 100644 (file)
@@ -328,7 +328,7 @@ private:
     #if defined(__WXGTK20__)
         #define wxNEEDS_UTF8_FOR_TEXT_DATAOBJ
     #elif defined(__WXMAC__)
     #if defined(__WXGTK20__)
         #define wxNEEDS_UTF8_FOR_TEXT_DATAOBJ
     #elif defined(__WXMAC__)
-        #define wxNEEDS_UTF8_FOR_TEXT_DATAOBJ
+        #define wxNEEDS_UTF16_FOR_TEXT_DATAOBJ
     #endif
 #endif // wxUSE_UNICODE
 
     #endif
 #endif // wxUSE_UNICODE