]> git.saurik.com Git - wxWidgets.git/blobdiff - tests/any/anytest.cpp
support generic flag for pixel offsetting, see #11853
[wxWidgets.git] / tests / any / anytest.cpp
index 36109d5c98173a760a00960511ac2080e5e508e5..449c14f57505c4a56baf90f8f990784cfebcb5a4 100644 (file)
@@ -563,7 +563,9 @@ void wxAnyTestCase::wxVariantConversions()
     res = any.GetAs(&variant);
     CPPUNIT_ASSERT(res);
     CPPUNIT_ASSERT(variant.GetType() == "string");
+#if wxUSE_UNICODE
     CPPUNIT_ASSERT(variant.GetString() == L"ABC");
+#endif
 
     any = vDouble;
     double d = wxANY_AS(any, double);