]> git.saurik.com Git - wxWidgets.git/blobdiff - tests/strings/unicode.cpp
Use UTF16 for text data object on Mac. Fixes #10902
[wxWidgets.git] / tests / strings / unicode.cpp
index 1110b3f29d1d717a9424a08185e69c289e17c033..4dc62d7ebf6bc6c276124361c3c938327a4d61b9 100644 (file)
@@ -207,7 +207,7 @@ void UnicodeTestCase::ConstructorsWithConversion()
 
     wxString s2(wchar);
     CPPUNIT_ASSERT_EQUAL( wchar, s2 );
-    CPPUNIT_ASSERT_EQUAL( utf8, s2 );
+    CPPUNIT_ASSERT_EQUAL( wxString::FromUTF8(utf8), s2 );
 #else
     CPPUNIT_ASSERT_EQUAL( utf8, s1 );
 #endif