X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=src%2Fdocs.cpp;h=15ef98c1a1680d5a8a0927a36f15a3e38e6fd01f;hb=6563a3fc6cf0d419eb1a44794eed4df02b0c5420;hp=47ca4dcb160a706aeac56bff77626ffbf765dc00;hpb=dc5eb7b285e647a99535740a99d73d468a856ba3;p=ctsim.git diff --git a/src/docs.cpp b/src/docs.cpp index 47ca4dc..15ef98c 100644 --- a/src/docs.cpp +++ b/src/docs.cpp @@ -9,7 +9,7 @@ ** This is part of the CTSim program ** Copyright (c) 1983-2001 Kevin Rosenberg ** -** $Id: docs.cpp,v 1.38 2002/05/03 00:40:30 kevin Exp $ +** $Id: docs.cpp,v 1.40 2002/06/02 19:01:58 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 @@ -79,8 +79,8 @@ bool ImageFileDocument::OnOpenDocument(const wxString& filename) *theApp->getLog() << "Read image file " << filename << "\n"; SetFilename(filename, true); Modify(false); - UpdateAllViews(); getView()->setInitialClientSize(); + UpdateAllViews(); m_bBadFileOpen = false; return true; @@ -225,8 +225,8 @@ ProjectionFileDocument::OnOpenDocument(const wxString& filename) *theApp->getLog() << "Read projection file " << filename << "\n"; SetFilename(filename, true); Modify(false); - UpdateAllViews(); getView()->setInitialClientSize(); + UpdateAllViews(); m_bBadFileOpen = false; return true; @@ -293,7 +293,6 @@ PhantomFileDocument::OnOpenDocument(const wxString& filename) m_idPhantom = m_phantom.id(); Modify(false); UpdateAllViews(); - //GetFirstView()->OnUpdate (GetFirstView(), NULL); m_bBadFileOpen = false; return true;