From 3ac6cf59fa8620967cd94da500a0c3bc6295a5cb Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Thu, 13 Jun 2013 00:11:18 +0000 Subject: [PATCH] using Destroy, as otherwise the remnants get into the way for some other tests git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74194 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- tests/controls/frametest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/controls/frametest.cpp b/tests/controls/frametest.cpp index 4bee2246f2..449c411142 100644 --- a/tests/controls/frametest.cpp +++ b/tests/controls/frametest.cpp @@ -56,7 +56,7 @@ void FrameTestCase::setUp() void FrameTestCase::tearDown() { - wxDELETE(m_frame); + m_frame->Destroy(); } void FrameTestCase::Iconize() -- 2.45.2