From 486b9734e84e0a8d6bed0b61da8966ecc4b5bbca Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Mon, 12 Jul 2010 22:50:47 +0000 Subject: [PATCH] Compilation fix for wxAnyTestCase in ANSI-only build. Comparison of wxAny with wide strings is not available in this case. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64923 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- tests/any/anytest.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/any/anytest.cpp b/tests/any/anytest.cpp index 36109d5c98..449c14f575 100644 --- a/tests/any/anytest.cpp +++ b/tests/any/anytest.cpp @@ -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); -- 2.45.2