]> git.saurik.com Git - wxWidgets.git/blobdiff - tests/controls/frametest.cpp
reusing existing API
[wxWidgets.git] / tests / controls / frametest.cpp
index 4bee2246f2bff585381c2eec57044d7b322cc9f9..449c4111429279f902e4c2d708fa75fb82b42400 100644 (file)
@@ -56,7 +56,7 @@ void FrameTestCase::setUp()
 
 void FrameTestCase::tearDown()
 {
-    wxDELETE(m_frame);
+    m_frame->Destroy();
 }
 
 void FrameTestCase::Iconize()