]> git.saurik.com Git - wxWidgets.git/blobdiff - tests/xml/xmltest.cpp
support wxFD_MULTIPLE
[wxWidgets.git] / tests / xml / xmltest.cpp
index 79ca9ee3c64a29cbfd237a03ba4e0a96f7da9626..7b1d8ebd5363e6a414753e291ab5efb2accfa75b 100644 (file)
@@ -169,6 +169,7 @@ void XmlTestCase::LoadSave()
     CPPUNIT_ASSERT_EQUAL( xmlText, sos.GetString() );
 
 
+#if wxUSE_UNICODE
     const char *utf8xmlText =
 "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
 "<word>\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()