X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;ds=sidebyside;f=src%2Fdocs.cpp;h=82a740e7b2412aeefe854aa08c4076c35b7ee39c;hb=8a7697ce57b56cdc43698cd1241ad98d49f9b5ac;hp=672124dfd7a5b2237ce8212944c2fc800ef75773;hpb=58319f51aa5804c90fe5edd8e5f0386b7a297827;p=ctsim.git diff --git a/src/docs.cpp b/src/docs.cpp index 672124d..82a740e 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.45 2003/01/23 23:35:58 kevin Exp $ +** $Id$ ** ** 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 @@ -500,6 +500,7 @@ Graph3dFileDocument::OnOpenDocument(const wxString& filename) { SetFilename (filename, true); Modify (false); + getView()->setInitialClientSize(); UpdateAllViews(); m_bBadFileOpen = false; return true;