** This is part of the CTSim program
** Copyright (C) 1983-2000 Kevin Rosenberg
**
-** $Id: views.h,v 1.28 2001/01/20 17:43:41 kevin Exp $
+** $Id: views.h,v 1.29 2001/01/26 00:45:24 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
public:
ImageFileView(void);
virtual ~ImageFileView(void);
+ void canvasClosed()
+ { m_canvas = NULL; m_frame = NULL; }
wxMenu* getFileMenu()
{ return m_pFileMenu; }
public:
ProjectionFileView(void);
virtual ~ProjectionFileView(void);
+ void canvasClosed()
+ { m_canvas = NULL; m_frame = NULL; }
bool OnCreate(wxDocument *doc, long flags);
void OnDraw(wxDC* dc);
public:
PhantomView(void);
virtual ~PhantomView(void);
+ void canvasClosed()
+ { m_canvas = NULL; m_frame = NULL; }
bool OnCreate(wxDocument *doc, long flags);
void OnUpdate(wxView *sender, wxObject *hint = NULL);
public:
PlotFileView(void);
virtual ~PlotFileView(void);
+ void canvasClosed()
+ { m_canvas = NULL; m_frame = NULL; }
bool OnCreate(wxDocument *doc, long flags);
void OnDraw(wxDC* dc);
: wxView() , m_pFrame(0), m_pCanvas(0)
{}
~TextEditView();
+ void canvasClosed()
+ { m_pFrame = NULL; }
wxFrame *CreateChildFrame(wxDocument *doc, wxView *view);