From: Stefan Csomor Date: Thu, 13 Jun 2013 00:11:18 +0000 (+0000) Subject: using Destroy, as otherwise the remnants get into the way for some other tests X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/3ac6cf59fa8620967cd94da500a0c3bc6295a5cb?ds=inline 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 --- 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()