X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/744d91d41f4756ca4ec61f0a375068a239a6126f..54889dae199cb509b525b4c911185d16bef3ea2c:/tests/controls/frametest.cpp 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()