X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/744d91d41f4756ca4ec61f0a375068a239a6126f..e86aa7a62cc8be79ffaeb0d07b70161cb9ea2c74:/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()