projects
/
ctsim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
r354: Added Projection Polar conversions
[ctsim.git]
/
src
/
docs.h
diff --git
a/src/docs.h
b/src/docs.h
index 116347ccdd2fe3198d5072d654b7eb68c1c2af9f..8da87b3c76a9b3e25a036673e09c2d22c6f3eb4f 100644
(file)
--- a/
src/docs.h
+++ b/
src/docs.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: docs.h,v 1.
8 2000/12/22 04:18:0
0 kevin Exp $
+** $Id: docs.h,v 1.
11 2001/01/03 22:01:5
0 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
@@
-117,12
+117,13
@@
public:
{ return m_phantom; }
virtual bool OnOpenDocument (const wxString& filename);
{ return m_phantom; }
virtual bool OnOpenDocument (const wxString& filename);
+ virtual bool OnSaveDocument (const wxString& filename);
virtual bool OnCloseDocument ();
virtual bool IsModified () const;
virtual void Modify (bool mod);
};
virtual bool OnCloseDocument ();
virtual bool IsModified () const;
virtual void Modify (bool mod);
};
-
\r
-
\r
+
+
class PlotFileDocument: public wxDocument
{
DECLARE_DYNAMIC_CLASS(PlotFileDocument)
class PlotFileDocument: public wxDocument
{
DECLARE_DYNAMIC_CLASS(PlotFileDocument)
@@
-144,10
+145,11
@@
public:
const PlotFile& getPlotFile () const
{ return m_plot; }
const PlotFile& getPlotFile () const
{ return m_plot; }
- PlotFile& getPlotFile ()
\r
- { return m_plot; }
\r
-
\r
+ PlotFile& getPlotFile ()
+ { return m_plot; }
+
virtual bool OnOpenDocument (const wxString& filename);
virtual bool OnOpenDocument (const wxString& filename);
+ virtual bool OnSaveDocument (const wxString& filename);
virtual bool OnCloseDocument ();
virtual bool IsModified () const;
virtual void Modify (bool mod);
virtual bool OnCloseDocument ();
virtual bool IsModified () const;
virtual void Modify (bool mod);