r2098: *** empty log message ***
[ctsim.git] / src / docs.cpp
index 47ca4dcb160a706aeac56bff77626ffbf765dc00..5a73fe819f39ed0c337e040d64e0aeaf8b4c5b83 100644 (file)
@@ -9,7 +9,7 @@
 **  This is part of the CTSim program
 **  Copyright (c) 1983-2001 Kevin Rosenberg
 **
-**  $Id: docs.cpp,v 1.38 2002/05/03 00:40:30 kevin Exp $
+**  $Id: docs.cpp,v 1.39 2002/06/02 17:57:02 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
@@ -79,8 +79,8 @@ bool ImageFileDocument::OnOpenDocument(const wxString& filename)
     *theApp->getLog() << "Read image file " << filename << "\n";
   SetFilename(filename, true);  
   Modify(false);
-  UpdateAllViews();
   getView()->setInitialClientSize();
+  UpdateAllViews();
   m_bBadFileOpen = false;
 
   return true;
@@ -293,7 +293,6 @@ PhantomFileDocument::OnOpenDocument(const wxString& filename)
   m_idPhantom = m_phantom.id();
   Modify(false);
   UpdateAllViews();
-  //GetFirstView()->OnUpdate (GetFirstView(), NULL);
   m_bBadFileOpen = false;
   
   return true;