]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/docview/view.cpp
build fixes
[wxWidgets.git] / samples / docview / view.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;
 }