From: Jaakko Salli Date: Sun, 20 Jun 2010 07:08:13 +0000 (+0000) Subject: VC6 Fix: Use wxANY_AS() instead of wxAny::As<>() X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/7c2257892c99696cc2f2489b3e51bcbc24597abb 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 --- 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