]> git.saurik.com Git - wxWidgets.git/commitdiff
using Destroy, as otherwise the remnants get into the way for some other tests
authorStefan Csomor <csomor@advancedconcepts.ch>
Thu, 13 Jun 2013 00:11:18 +0000 (00:11 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Thu, 13 Jun 2013 00:11:18 +0000 (00:11 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74194 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

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()