r2100: *** empty log message ***
[ctsim.git] / src / docs.cpp
index 5a73fe819f39ed0c337e040d64e0aeaf8b4c5b83..15ef98c1a1680d5a8a0927a36f15a3e38e6fd01f 100644 (file)
@@ -9,7 +9,7 @@
 **  This is part of the CTSim program
 **  Copyright (c) 1983-2001 Kevin Rosenberg
 **
-**  $Id: docs.cpp,v 1.39 2002/06/02 17:57:02 kevin Exp $
+**  $Id: docs.cpp,v 1.40 2002/06/02 19:01:58 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
@@ -225,8 +225,8 @@ ProjectionFileDocument::OnOpenDocument(const wxString& filename)
     *theApp->getLog() << "Read projection file " << filename << "\n";
   SetFilename(filename, true);
   Modify(false);
-  UpdateAllViews();
   getView()->setInitialClientSize();
+  UpdateAllViews();
   m_bBadFileOpen = false;
   
   return true;