X-Git-Url: http://git.kpe.io/?p=ctsim.git;a=blobdiff_plain;f=src%2Fdocs.cpp;h=685f23c5b7aa18260de67a1ac2497d86f77cbaba;hp=672124dfd7a5b2237ce8212944c2fc800ef75773;hb=06066d9192936b4c4cc69847cd4c1f5aa7017829;hpb=77b54dcec77e80f1d8a6d32fd9320579b64f5f4d diff --git a/src/docs.cpp b/src/docs.cpp index 672124d..685f23c 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: docs.cpp,v 1.46 2003/01/30 21:53:16 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 @@ -500,6 +500,7 @@ Graph3dFileDocument::OnOpenDocument(const wxString& filename) { SetFilename (filename, true); Modify (false); + getView()->setInitialClientSize(); UpdateAllViews(); m_bBadFileOpen = false; return true;