** This is part of the CTSim program
** Copyright (c) 1983-2001 Kevin Rosenberg
**
-** $Id: docs.cpp,v 1.43 2002/06/06 22:50:24 kevin Exp $
+** $Id$
**
** 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
** Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
******************************************************************************/
-#ifdef __GNUG__
-// #pragma implementation
-#endif
-
#include "wx/wxprec.h"
#ifndef WX_PRECOMP
// ProjectionFileDocument
-IMPLEMENT_DYNAMIC_CLASS(ProjectionFileDocument, BackgroundProcessingTask)
+IMPLEMENT_DYNAMIC_CLASS(ProjectionFileDocument, BackgroundProcessingDocument)
bool
ProjectionFileDocument::OnSaveDocument(const wxString& filename)
// PhantomFileDocument
-IMPLEMENT_DYNAMIC_CLASS(PhantomFileDocument, BackgroundProcessingTask)
+IMPLEMENT_DYNAMIC_CLASS(PhantomFileDocument, BackgroundProcessingDocument)
PhantomFileDocument::~PhantomFileDocument()
{
{
SetFilename (filename, true);
Modify (false);
+ getView()->setInitialClientSize();
UpdateAllViews();
m_bBadFileOpen = false;
return true;