From 28c45c53a6cde08276993364fa49ee651fa573ff Mon Sep 17 00:00:00 2001 From: Paul Cornett Date: Thu, 7 Aug 2008 06:51:26 +0000 Subject: [PATCH] build fixes git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55005 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- samples/docview/view.cpp | 3 +-- samples/docvwmdi/docview.cpp | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/samples/docview/view.cpp b/samples/docview/view.cpp index 4cbb1e6084..6fbd4103b4 100644 --- a/samples/docview/view.cpp +++ b/samples/docview/view.cpp @@ -201,8 +201,7 @@ bool TextEditView::OnClose(bool deleteWindow) if (deleteWindow) { - wxDELETE(m_frame) - return true; + wxDELETE(m_frame); } return true; } diff --git a/samples/docvwmdi/docview.cpp b/samples/docvwmdi/docview.cpp index 90e44b896f..69d4854260 100644 --- a/samples/docvwmdi/docview.cpp +++ b/samples/docvwmdi/docview.cpp @@ -115,7 +115,7 @@ bool MyApp::OnInit(void) int MyApp::OnExit(void) { - wxDELETE(m_docManager) + wxDELETE(m_docManager); return 0; } -- 2.45.2