]> git.saurik.com Git - wxWidgets.git/commitdiff
build fixes
authorPaul Cornett <paulcor@bullseye.com>
Thu, 7 Aug 2008 06:51:26 +0000 (06:51 +0000)
committerPaul Cornett <paulcor@bullseye.com>
Thu, 7 Aug 2008 06:51:26 +0000 (06:51 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55005 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

samples/docview/view.cpp
samples/docvwmdi/docview.cpp

index 4cbb1e6084703a4811a1fcdb4157c5b656385f27..6fbd4103b4554ff3aadd2130b333a59554098938 100644 (file)
@@ -201,8 +201,7 @@ bool TextEditView::OnClose(bool deleteWindow)
 
     if (deleteWindow)
     {
-        wxDELETE(m_frame)
-        return true;
+        wxDELETE(m_frame);
     }
     return true;
 }
index 90e44b896f3a5a1d56d6bf144c383dcf928423c7..69d4854260dd4607eba1622fcc2ee90259c0b416 100644 (file)
@@ -115,7 +115,7 @@ bool MyApp::OnInit(void)
 
 int MyApp::OnExit(void)
 {
-    wxDELETE(m_docManager)
+    wxDELETE(m_docManager);
     return 0;
 }