r355: Polar conversions of projections
[ctsim.git] / src / docs.cpp
index d9b3d1098169533deb28d032598663bbc3912854..e458a0204f2b7d473d00a16ee20e8b036635d569 100644 (file)
@@ -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;
 }