** This is part of the CTSim program
** Copyright (c) 1983-2001 Kevin Rosenberg
**
-** $Id: views.cpp,v 1.134 2001/03/11 17:55:29 kevin Exp $
+** $Id: views.cpp,v 1.135 2001/03/11 18:52:03 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
if (theApp->getAskDeleteNewDocs())
GetDocument()->Modify (true);
GetDocument()->UpdateAllViews (this);
+ GetDocument()->Activate();
}
void
if (theApp->getAskDeleteNewDocs())
GetDocument()->Modify (true);
GetDocument()->UpdateAllViews (this);
+ GetDocument()->Activate();
}
void
if (theApp->getAskDeleteNewDocs())
GetDocument()->Modify (true);
GetDocument()->UpdateAllViews (this);
+ GetDocument()->Activate();
}
void
if (theApp->getAskDeleteNewDocs())
GetDocument()->Modify (true);
GetDocument()->UpdateAllViews (this);
+ GetDocument()->Activate();
}
void
if (theApp->getAskDeleteNewDocs())
GetDocument()->Modify (true);
GetDocument()->UpdateAllViews (this);
+ GetDocument()->Activate();
}
void
if (theApp->getAskDeleteNewDocs())
GetDocument()->Modify (true);
GetDocument()->UpdateAllViews (this);
+ GetDocument()->Activate();
}
#endif
if (theApp->getAskDeleteNewDocs())
GetDocument()->Modify (true);
GetDocument()->UpdateAllViews (this);
+ GetDocument()->Activate();
}
void
if (theApp->getAskDeleteNewDocs())
GetDocument()->Modify (true);
GetDocument()->UpdateAllViews (this);
+ GetDocument()->Activate();
}
void
if (theApp->getAskDeleteNewDocs())
GetDocument()->Modify (true);
GetDocument()->UpdateAllViews (this);
+ GetDocument()->Activate();
}
void
if (theApp->getAskDeleteNewDocs())
GetDocument()->Modify (true);
GetDocument()->UpdateAllViews (this);
+ GetDocument()->Activate();
}
void
GetDocument()->Modify (true);
GetDocument()->UpdateAllViews (this);
}
+ GetDocument()->Activate();
}
void
GetDocument()->Modify (true);
GetDocument()->UpdateAllViews (this);
}
+ GetDocument()->Activate();
}
if (theApp->getAskDeleteNewDocs())
pScaledDoc->Modify (true);
pScaledDoc->UpdateAllViews (this);
- pScaledDoc->getView()->OnUpdate (this, NULL);
pScaledDoc->getView()->getFrame()->Show(true);
+ pScaledDoc->Activate();
}
}
GetDocumentManager()->ActivateView (pGraph3d->getView(), true, false);
::wxYield();
pGraph3d->getView()->getCanvas()->SetFocus();
+ pGraph3d->Activate();
}
#endif
}
if (theApp->getAskDeleteNewDocs())
pPlotDoc->Modify (true);
- pPlotDoc->UpdateAllViews ();
- pPlotDoc->getView()->OnUpdate (this, NULL);
pPlotDoc->getView()->getFrame()->Show(true);
+ pPlotDoc->UpdateAllViews ();
+ pPlotDoc->Activate();
}
}
}
if (theApp->getAskDeleteNewDocs())
pPlotDoc->Modify (true);
- pPlotDoc->UpdateAllViews ();
- pPlotDoc->getView()->OnUpdate (this, NULL);
pPlotDoc->getView()->getFrame()->Show(true);
+ pPlotDoc->UpdateAllViews ();
+ pPlotDoc->Activate();
}
}
if (theApp->getAskDeleteNewDocs())
pPlotDoc->Modify (true);
- pPlotDoc->UpdateAllViews ();
- pPlotDoc->getView()->OnUpdate (this, NULL);
pPlotDoc->getView()->getFrame()->Show(true);
+ pPlotDoc->UpdateAllViews ();
+ pPlotDoc->Activate();
}
}
if (theApp->getAskDeleteNewDocs())
pPlotDoc->Modify (true);
- pPlotDoc->UpdateAllViews ();
- pPlotDoc->getView()->OnUpdate (this, NULL);
pPlotDoc->getView()->getFrame()->Show(true);
+ pPlotDoc->UpdateAllViews ();
+ pPlotDoc->Activate();
}
}
#endif
delete pY2;
if (theApp->getAskDeleteNewDocs())
pPlotDoc->Modify (true);
- pPlotDoc->UpdateAllViews ();
- pPlotDoc->getView()->OnUpdate (this, NULL);
pPlotDoc->getView()->getFrame()->Show(true);
+ pPlotDoc->UpdateAllViews ();
+ pPlotDoc->Activate();
}
}
}
delete pY2;
if (theApp->getAskDeleteNewDocs())
pPlotDoc->Modify (true);
- pPlotDoc->UpdateAllViews ();
- pPlotDoc->getView()->OnUpdate (this, NULL);
pPlotDoc->getView()->getFrame()->Show(true);
+ pPlotDoc->UpdateAllViews ();
+ pPlotDoc->Activate();
}
}
}
delete pY;
if (theApp->getAskDeleteNewDocs())
pPlotDoc->Modify (true);
- pPlotDoc->UpdateAllViews ();
- pPlotDoc->getView()->OnUpdate (this, NULL);
pPlotDoc->getView()->getFrame()->Show(true);
+ pPlotDoc->UpdateAllViews ();
+ pPlotDoc->Activate();
}
}
#endif
*theApp->getLog() << ">>>>\n" << os.str().c_str() << "<<<<\n";
wxMessageBox (os.str().c_str(), "Phantom Properties");
+ GetDocument()->Activate();
}
if (theApp->getAskDeleteNewDocs())
pProjectionDoc-> Modify(true);
pProjectionDoc->UpdateAllViews (this);
+ pProjectionDoc->Activate();
}
rasterView->getFrame()->SetFocus();
rasterView->OnUpdate (rasterView, NULL);
}
+ pRasterDoc->Activate();
}
}
*theApp->getLog() << ">>>>\n" << os.str().c_str() << "<<<<\n";
wxMessageDialog dialogMsg (getFrameForChild(), os.str().c_str(), "Projection File Properties", wxOK | wxICON_INFORMATION);
dialogMsg.ShowModal();
+ GetDocument()->Activate();
}
pIF->labelAdd (os.str().c_str());
if (theApp->getAskDeleteNewDocs())
pPolarDoc->Modify (true);
- pPolarDoc->UpdateAllViews ();
- pPolarDoc->getView()->OnUpdate (this, NULL);
pPolarDoc->getView()->getFrame()->Show(true);
+ pPolarDoc->UpdateAllViews ();
+ pPolarDoc->Activate();
}
}
pIF->labelAdd (os.str().c_str());
if (theApp->getAskDeleteNewDocs())
pPolarDoc->Modify (true);
- pPolarDoc->UpdateAllViews ();
- pPolarDoc->getView()->OnUpdate (this, NULL);
pPolarDoc->getView()->getFrame()->Show(true);
+ pPolarDoc->UpdateAllViews ();
+ pPolarDoc->Activate();
}
}
delete pdTheta;
if (theApp->getAskDeleteNewDocs())
pPlotDoc->Modify (true);
- pPlotDoc->UpdateAllViews ();
- pPlotDoc->getView()->OnUpdate (this, NULL);
pPlotDoc->getView()->getFrame()->Show(true);
+ pPlotDoc->UpdateAllViews ();
+ pPlotDoc->Activate();
return;
}
if (theApp->getAskDeleteNewDocs())
pProjDocNew-> Modify(true);
pProjDocNew->UpdateAllViews (this);
+ pProjDocNew->Activate();
}
void
if (theApp->getAskDeleteNewDocs())
pReconDoc->Modify (true);
pReconDoc->UpdateAllViews (this);
+ pReconDoc->Activate();
if (ImageFileView* rasterView = pReconDoc->getView()) {
rasterView->OnUpdate (rasterView, NULL);
rasterView->getFrame()->SetFocus();
*theApp->getLog() << ">>>>\n" << os.str().c_str() << "<<<<<\n";
wxMessageDialog dialogMsg (getFrameForChild(), os.str().c_str(), "Plot File Properties", wxOK | wxICON_INFORMATION);
dialogMsg.ShowModal();
+ GetDocument()->Activate();
}
OnUpdate (this, NULL);
}
}
+ GetDocument()->Activate();
}
void
m_dMaxPixel = dialogMinMax.getMaximum();
OnUpdate (this, NULL);
}
+ GetDocument()->Activate();
}
void
m_bMaxSpecified = false;
OnUpdate (this, NULL);
}
+ GetDocument()->Activate();
}