]> git.saurik.com Git - wxWidgets.git/blobdiff - tests/strings/strings.cpp
Added missing includes
[wxWidgets.git] / tests / strings / strings.cpp
index ea4e04fc5864e43063e36741111e8d14abfecb2f..3e25c70f4845cd9dc7f912d8f939d0e522a621f9 100644 (file)
@@ -459,8 +459,11 @@ void StringTestCase::CaseChanges()
     if ( locRu.IsOk() )
     {
         // try upper casing 8bit strings
-        wxString sUpper("\xdf"),
-                 sLower("\xff");
+        const wchar_t capital_ya[] = { 0x42f, 0 },
+                      small_ya[]   = { 0x44f, 0 };
+
+        wxString sUpper(wxConvLibc.cWC2MB(capital_ya)),
+                 sLower(wxConvLibc.cWC2MB(small_ya));
 
         CPPUNIT_ASSERT( sUpper.Lower() == sLower );
         CPPUNIT_ASSERT( sLower.Upper() == sUpper );