diff --git a/tests/misc/misctests.cpp b/tests/misc/misctests.cpp index 54fd941def..3d9d1dd497 100644 --- a/tests/misc/misctests.cpp +++ b/tests/misc/misctests.cpp @@ -90,7 +90,7 @@ void MiscTestCase::Delete() CPPUNIT_ASSERT( array != NULL ); // Check that wxDELETEA sets the pointer to NULL: - wxDELETE( array ); + wxDELETEA( array ); CPPUNIT_ASSERT( array == NULL ); // this results in compilation error, as it should