** This is part of the CTSim program
** Copyright (C) 1983-2000 Kevin Rosenberg
**
-** $Id: docs.cpp,v 1.11 2001/01/02 16:02:13 kevin Exp $
+** $Id: docs.cpp,v 1.13 2001/01/20 08:10:33 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
wxDocument::Modify(mod);
}
-bool ImageFileDocument::OnCloseDocument ()
-{
- bool bReturn = wxDocument::OnCloseDocument();
- return bReturn;
-}
// ProjectionFileDocument
}
Modify(false);
UpdateAllViews();
+ GetFirstView()->OnUpdate (GetFirstView(), NULL);
return true;
}
}
-bool ProjectionFileDocument::OnCloseDocument ()
-{
- bool bReturn = wxDocument::OnCloseDocument();
- return bReturn;
-}
// PhantomDocument
m_idPhantom = m_phantom.id();
Modify(false);
UpdateAllViews();
+ GetFirstView()->OnUpdate (GetFirstView(), NULL);
return true;
}
return true;
}
-bool PhantomDocument::OnCloseDocument ()
-{
- bool bReturn = wxDocument::OnCloseDocument();
- return bReturn;
-}
-
bool PhantomDocument::IsModified(void) const
{
- return wxDocument::IsModified();
+ return false;
}
void PhantomDocument::Modify(bool mod)
return true;
}
-bool PlotFileDocument::OnCloseDocument ()
-{
- bool bReturn = wxDocument::OnCloseDocument();
- return bReturn;
-}
bool PlotFileDocument::IsModified(void) const
{