X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=src%2Fviews.cpp;h=03d366d97bfc74935215a3924fc94e4b8d40b555;hb=2d7966bd04e3d56b9c9cc9651b029a8b6196458b;hp=1ce18dbda6210b05b51697e6c446da78820cfdb9;hpb=dc5eb7b285e647a99535740a99d73d468a856ba3;p=ctsim.git diff --git a/src/views.cpp b/src/views.cpp index 1ce18db..03d366d 100644 --- a/src/views.cpp +++ b/src/views.cpp @@ -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);