X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/926649a9967d28b9f323d44b87849aa0ca621a42..fd5907ffd9b0785bb6eb6f2546101623b23827c5:/tests/xml/xmltest.cpp diff --git a/tests/xml/xmltest.cpp b/tests/xml/xmltest.cpp index 79ca9ee3c6..7b1d8ebd53 100644 --- a/tests/xml/xmltest.cpp +++ b/tests/xml/xmltest.cpp @@ -169,6 +169,7 @@ void XmlTestCase::LoadSave() CPPUNIT_ASSERT_EQUAL( xmlText, sos.GetString() ); +#if wxUSE_UNICODE const char *utf8xmlText = "\n" "\n" @@ -191,6 +192,7 @@ void XmlTestCase::LoadSave() CPPUNIT_ASSERT( doc.Save(sos8) ); CPPUNIT_ASSERT_EQUAL( wxString(utf8xmlText), wxString(sos8.GetString().ToUTF8()) ); +#endif // wxUSE_UNICODE } void XmlTestCase::CDATA()