projects
/
ctsim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
r1865: *** empty log message ***
[ctsim.git]
/
src
/
views.cpp
diff --git
a/src/views.cpp
b/src/views.cpp
index 1ce18dbda6210b05b51697e6c446da78820cfdb9..03d366d97bfc74935215a3924fc94e4b8d40b555 100644
(file)
--- 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
**
** This is part of the CTSim program
** Copyright (c) 1983-2001 Kevin Rosenberg
**
-** $Id: views.cpp,v 1.15
1 2002/05/03 00:40:30
kevin Exp $
+** $Id: views.cpp,v 1.15
2 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
**
** 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());
*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();
}
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);
pIF->labelAdd (os.str().c_str());
if (theApp->getAskDeleteNewDocs())
pRectDoc->Modify (true);
+ pRectDoc->UpdateAllViews();
pRectDoc->getView()->setInitialClientSize();
pRectDoc->Activate();
}
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);
pIF->labelAdd (os.str().c_str());
if (theApp->getAskDeleteNewDocs())
pPolarDoc->Modify (true);
- pPolarDoc->UpdateAllViews ();
+ pPolarDoc->UpdateAllViews (
this
);
pPolarDoc->getView()->setInitialClientSize();
pPolarDoc->Activate();
}
pPolarDoc->getView()->setInitialClientSize();
pPolarDoc->Activate();
}
@@
-3673,7
+3674,7
@@
TextFileCanvas::~TextFileCanvas ()
}
wxSize
}
wxSize
-
Plo
tFileCanvas::GetBestSize() const
+
Tex
tFileCanvas::GetBestSize() const
{
int xSize, ySize;
theApp->getMainFrame()->GetClientSize (&xSize, &ySize);
{
int xSize, ySize;
theApp->getMainFrame()->GetClientSize (&xSize, &ySize);