X-Git-Url: http://git.kpe.io/?p=ctsim.git;a=blobdiff_plain;f=src%2Fdocs.cpp;h=47ca4dcb160a706aeac56bff77626ffbf765dc00;hp=2c18e4a6fa76b662f72a13fa535d727c8bacf0a7;hb=dc5eb7b285e647a99535740a99d73d468a856ba3;hpb=b68175983375191c7f302a140c8cab8151a3d628 diff --git a/src/docs.cpp b/src/docs.cpp index 2c18e4a..47ca4dc 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.37 2002/04/30 18:13:40 kevin Exp $ +** $Id: docs.cpp,v 1.38 2002/05/03 00:40:30 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 @@ -80,7 +80,7 @@ bool ImageFileDocument::OnOpenDocument(const wxString& filename) SetFilename(filename, true); Modify(false); UpdateAllViews(); - // getView()->OnUpdate (NULL, NULL); + getView()->setInitialClientSize(); m_bBadFileOpen = false; return true; @@ -226,6 +226,7 @@ ProjectionFileDocument::OnOpenDocument(const wxString& filename) SetFilename(filename, true); Modify(false); UpdateAllViews(); + getView()->setInitialClientSize(); m_bBadFileOpen = false; return true;