X-Git-Url: http://git.kpe.io/?p=ctsim.git;a=blobdiff_plain;f=src%2Fdocs.cpp;h=5a73fe819f39ed0c337e040d64e0aeaf8b4c5b83;hp=47ca4dcb160a706aeac56bff77626ffbf765dc00;hb=67e0b59f7b40b2c2f1d0587b24b4ecf4881b3824;hpb=faa6bddaf9114589b38b26ae79a7051eaff62477 diff --git a/src/docs.cpp b/src/docs.cpp index 47ca4dc..5a73fe8 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.39 2002/06/02 17:57:02 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; @@ -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;