X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;ds=sidebyside;f=src%2Fdocs.cpp;h=e458a0204f2b7d473d00a16ee20e8b036635d569;hb=c6cda8844a491b71759e5dd5edba830d0b809cfd;hp=d9b3d1098169533deb28d032598663bbc3912854;hpb=c00c639073653fac7463a88f2b000f263236550d;p=ctsim.git diff --git a/src/docs.cpp b/src/docs.cpp index d9b3d10..e458a02 100644 --- a/src/docs.cpp +++ b/src/docs.cpp @@ -9,7 +9,7 @@ ** This is part of the CTSim program ** Copyright (C) 1983-2000 Kevin Rosenberg ** -** $Id: docs.cpp,v 1.11 2001/01/02 16:02:13 kevin Exp $ +** $Id: docs.cpp,v 1.12 2001/01/06 15:33:15 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 @@ -132,6 +132,7 @@ bool ProjectionFileDocument::OnOpenDocument(const wxString& filename) } Modify(false); UpdateAllViews(); + GetFirstView()->OnUpdate (GetFirstView(), NULL); return true; } @@ -176,6 +177,7 @@ bool PhantomDocument::OnOpenDocument(const wxString& filename) m_idPhantom = m_phantom.id(); Modify(false); UpdateAllViews(); + GetFirstView()->OnUpdate (GetFirstView(), NULL); return true; }