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
This commit is contained in:
@@ -729,7 +729,7 @@ void wxAnyTestCase::Misc()
|
|||||||
}
|
}
|
||||||
|
|
||||||
wxAny any2 = any;
|
wxAny any2 = any;
|
||||||
CPPUNIT_ASSERT( any2.As<MyClass>().GetValue() == 15 );
|
CPPUNIT_ASSERT( wxANY_AS(any2, MyClass).GetValue() == 15 );
|
||||||
}
|
}
|
||||||
|
|
||||||
// Make sure allocations and deallocations match
|
// Make sure allocations and deallocations match
|
||||||
|
Reference in New Issue
Block a user