From 7c2257892c99696cc2f2489b3e51bcbc24597abb Mon Sep 17 00:00:00 2001 From: Jaakko Salli Date: Sun, 20 Jun 2010 07:08:13 +0000 Subject: [PATCH] VC6 Fix: Use wxANY_AS() instead of wxAny::As<>() git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64637 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- tests/any/anytest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/any/anytest.cpp b/tests/any/anytest.cpp index 156ba08689..36109d5c98 100644 --- a/tests/any/anytest.cpp +++ b/tests/any/anytest.cpp @@ -729,7 +729,7 @@ void wxAnyTestCase::Misc() } wxAny any2 = any; - CPPUNIT_ASSERT( any2.As().GetValue() == 15 ); + CPPUNIT_ASSERT( wxANY_AS(any2, MyClass).GetValue() == 15 ); } // Make sure allocations and deallocations match -- 2.50.0