** This is part of the CTSim program
** Copyright (C) 1983-2000 Kevin Rosenberg
**
-** $Id: ctsim.cpp,v 1.57 2001/01/29 00:42:26 kevin Exp $
+** $Id: ctsim.cpp,v 1.58 2001/01/29 23:11:32 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.57 2001/01/29 00:42:26 kevin Exp $";
+static const char* rcsindent = "$Id: ctsim.cpp,v 1.58 2001/01/29 23:11:32 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());
- if (theApp->getSetModifyNewDocs())
- pFilterDoc->Modify (true);
+ pFilterDoc->Modify (true);
pFilterDoc->UpdateAllViews();
pFilterDoc->GetFirstView()->OnUpdate (NULL, NULL);
pFilterDoc->getView()->getFrame()->SetClientSize(m_iDefaultFilterXSize, m_iDefaultFilterYSize);
void
MainFrame::OnUpdateUI (wxUpdateUIEvent& rEvent)
{
+#ifndef CTSIM_MDI
int iPos = 0;
wxList& rListDocs = theApp->getDocManager()->GetDocuments();
wxNode* pNode = rListDocs.GetFirst();
static_cast<wxMenuItemBase*>(m_apWindowMenuItems[i])->SetName (wxString("[EMPTY]"));
m_apWindowMenuData[i] = NULL;
}
-
+#endif
}
#ifdef CTSIM_CUSTOM_MRU
pFrame->Show (false);
}
}
- newDoc->OnNewDocument();
+// newDoc->OnNewDocument();
}
return newDoc;
pFrame->Show (false);
}
}
- newDoc->OnNewDocument();
+// newDoc->OnNewDocument();
}
return newDoc;
pFrame->Show (false);
}
}
- newDoc->OnNewDocument();
+// newDoc->OnNewDocument();
}
return newDoc;
pFrame->Show (false);
}
}
- newDoc->OnNewDocument();
+// newDoc->OnNewDocument();
}
return newDoc;
if (pFrame)
pFrame->SetSize (0,0);
}
- newDoc->OnNewDocument();
+// newDoc->OnNewDocument();
}
return newDoc;