** This is part of the CTSim program
** Copyright (c) 1983-2001 Kevin Rosenberg
**
-** $Id: ctsim.cpp,v 1.88 2001/02/22 15:00:20 kevin Exp $
+** $Id: ctsim.cpp,v 1.89 2001/02/25 10:52:55 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
#endif
#endif
-static const char* rcsindent = "$Id: ctsim.cpp,v 1.88 2001/02/22 15:00:20 kevin Exp $";
+static const char* rcsindent = "$Id: ctsim.cpp,v 1.89 2001/02/25 10:52:55 kevin Exp $";
struct option CTSimApp::ctsimOptions[] =
{
rIF.setArraySize (m_iDefaultFilterXSize, m_iDefaultFilterYSize);
rIF.filterResponse (strDomain.c_str(), m_dDefaultFilterBandwidth, strFilter.c_str(), m_dDefaultFilterParam, m_dDefaultFilterInputScale, m_dDefaultFilterOutputScale);
rIF.labelAdd (os.str().c_str());
- pFilterDoc->Modify (true);
+ if (theApp->getAskDeleteNewDocs())
+ pFilterDoc->Modify (true);
pFilterDoc->UpdateAllViews();
pFilterDoc->GetFirstView()->OnUpdate (NULL, NULL);
pFilterDoc->getView()->getFrame()->SetClientSize(m_iDefaultFilterXSize, m_iDefaultFilterYSize);