r1865: *** empty log message ***
[ctsim.git] / src / views.cpp
index 1ce18dbda6210b05b51697e6c446da78820cfdb9..03d366d97bfc74935215a3924fc94e4b8d40b555 100644 (file)
@@ -9,7 +9,7 @@
 **  This is part of the CTSim program
 **  Copyright (c) 1983-2001 Kevin Rosenberg
 **
-**  $Id: views.cpp,v 1.151 2002/05/03 00:40:30 kevin Exp $
+**  $Id: views.cpp,v 1.152 2002/05/03 01:01: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
@@ -2256,7 +2256,7 @@ PhantomFileView::OnRasterize (wxCommandEvent& event)
     *theApp->getLog() << os.str().c_str() << "\n";
     pImageFile->labelAdd (os.str().c_str(), timer.timerEnd());
 
-    pRasterDoc->UpdateAllViews();
+    pRasterDoc->UpdateAllViews(this);
     pRasterDoc->getView()->setInitialClientSize();
     pRasterDoc->Activate();
   }
@@ -2542,6 +2542,7 @@ ProjectionFileView::OnConvertRectangular (wxCommandEvent& event)
   pIF->labelAdd (os.str().c_str());
   if (theApp->getAskDeleteNewDocs())
     pRectDoc->Modify (true);
+  pRectDoc->UpdateAllViews();
   pRectDoc->getView()->setInitialClientSize();
   pRectDoc->Activate();
 }
@@ -2623,7 +2624,7 @@ ProjectionFileView::OnConvertFFTPolar (wxCommandEvent& event)
     pIF->labelAdd (os.str().c_str());
     if (theApp->getAskDeleteNewDocs())
       pPolarDoc->Modify (true);
-    pPolarDoc->UpdateAllViews ();
+    pPolarDoc->UpdateAllViews (this);
     pPolarDoc->getView()->setInitialClientSize();
     pPolarDoc->Activate();
   }
@@ -3673,7 +3674,7 @@ TextFileCanvas::~TextFileCanvas ()
 }
 
 wxSize
-PlotFileCanvas::GetBestSize() const
+TextFileCanvas::GetBestSize() const
 {
   int xSize, ySize;
   theApp->getMainFrame()->GetClientSize (&xSize, &ySize);