projects
/
ctsim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
r435: *** empty log message ***
[ctsim.git]
/
src
/
views.h
diff --git
a/src/views.h
b/src/views.h
index 834bdfeb3468d45898647982f18879c2fcda97bc..9f57f5588ffa74bce8a213fd6814c1fcd9e18a2d 100644
(file)
--- a/
src/views.h
+++ b/
src/views.h
@@
-9,7
+9,7
@@
** This is part of the CTSim program
** Copyright (C) 1983-2000 Kevin Rosenberg
**
** This is part of the CTSim program
** Copyright (C) 1983-2000 Kevin Rosenberg
**
-** $Id: views.h,v 1.2
8 2001/01/20 17:43:41
kevin Exp $
+** $Id: views.h,v 1.2
9 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
**
** 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
@@
-69,6
+69,8
@@
private:
public:
ImageFileView(void);
virtual ~ImageFileView(void);
public:
ImageFileView(void);
virtual ~ImageFileView(void);
+ void canvasClosed()
+ { m_canvas = NULL; m_frame = NULL; }
wxMenu* getFileMenu()
{ return m_pFileMenu; }
wxMenu* getFileMenu()
{ return m_pFileMenu; }
@@
-201,6
+203,8
@@
private:
public:
ProjectionFileView(void);
virtual ~ProjectionFileView(void);
public:
ProjectionFileView(void);
virtual ~ProjectionFileView(void);
+ void canvasClosed()
+ { m_canvas = NULL; m_frame = NULL; }
bool OnCreate(wxDocument *doc, long flags);
void OnDraw(wxDC* dc);
bool OnCreate(wxDocument *doc, long flags);
void OnDraw(wxDC* dc);
@@
-274,6
+278,8
@@
private:
public:
PhantomView(void);
virtual ~PhantomView(void);
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);
bool OnCreate(wxDocument *doc, long flags);
void OnUpdate(wxView *sender, wxObject *hint = NULL);
@@
-333,6
+339,8
@@
private:
public:
PlotFileView(void);
virtual ~PlotFileView(void);
public:
PlotFileView(void);
virtual ~PlotFileView(void);
+ void canvasClosed()
+ { m_canvas = NULL; m_frame = NULL; }
bool OnCreate(wxDocument *doc, long flags);
void OnDraw(wxDC* dc);
bool OnCreate(wxDocument *doc, long flags);
void OnDraw(wxDC* dc);
@@
-385,6
+393,8
@@
public:
: wxView() , m_pFrame(0), m_pCanvas(0)
{}
~TextEditView();
: wxView() , m_pFrame(0), m_pCanvas(0)
{}
~TextEditView();
+ void canvasClosed()
+ { m_pFrame = NULL; }
wxFrame *CreateChildFrame(wxDocument *doc, wxView *view);
wxFrame *CreateChildFrame(wxDocument *doc, wxView *view);