X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;ds=sidebyside;f=src%2Fviews.cpp;h=8a1facea8f57c2fd58b43274a680c237bdba4a2f;hb=c149735f56364c224ec6847d0f32ba06af86dc5b;hp=d60515bbb8c4c7a359061d9e9d47e5316c43ac9b;hpb=bfcc769cf8019eabc8c65c07257c8dbee4b4c977;p=ctsim.git diff --git a/src/views.cpp b/src/views.cpp index d60515b..8a1face 100644 --- a/src/views.cpp +++ b/src/views.cpp @@ -9,7 +9,7 @@ ** This is part of the CTSim program ** Copyright (C) 1983-2000 Kevin Rosenberg ** -** $Id: views.cpp,v 1.19 2000/09/02 05:10:39 kevin Exp $ +** $Id: views.cpp,v 1.20 2000/09/02 16:40:36 kevin Exp $ ** ** This program is free software; you can redistribute it and/or modify ** it under the terms of the GNU General Public License (version 2) as @@ -725,6 +725,7 @@ ProjectionFileView::OnReconstruct (wxCommandEvent& event) ::wxUsleep(50); } } + delete pDlgReconstruct; } else { wxProgressDialog dlgProgress (wxString("Reconstruction"), wxString("Reconstruction Progress"), rProj.nView() + 1, m_frame, wxPD_CAN_ABORT); for (int i = 0; i < rProj.nView(); i++) { @@ -736,6 +737,7 @@ ProjectionFileView::OnReconstruct (wxCommandEvent& event) } } } + delete pReconstruct; pReconDoc->Modify(true); pReconDoc->UpdateAllViews(this); ostringstream os;