X-Git-Url: http://git.kpe.io/?p=ctsim.git;a=blobdiff_plain;f=src%2Fdocs.h;h=8da87b3c76a9b3e25a036673e09c2d22c6f3eb4f;hp=c1da82a23de7b0bd5acf39d48f7698c0a3e37183;hb=9a334e5884e2e6d42afc43ac0d3d64d5fb340101;hpb=0eb095f799dd4222e6eb9b1db9e8c6f2831a1540 diff --git a/src/docs.h b/src/docs.h index c1da82a..8da87b3 100644 --- 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 ** -** $Id: docs.h,v 1.10 2001/01/02 05:34:57 kevin Exp $ +** $Id: docs.h,v 1.11 2001/01/03 22:01:50 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 @@ -117,13 +117,13 @@ public: { return m_phantom; } virtual bool OnOpenDocument (const wxString& filename); - virtual bool OnSaveDocument (const wxString& filename); + virtual bool OnSaveDocument (const wxString& filename); virtual bool OnCloseDocument (); virtual bool IsModified () const; virtual void Modify (bool mod); }; - - + + class PlotFileDocument: public wxDocument { DECLARE_DYNAMIC_CLASS(PlotFileDocument) @@ -145,11 +145,11 @@ public: const PlotFile& getPlotFile () const { return m_plot; } - PlotFile& getPlotFile () - { return m_plot; } - - virtual bool OnOpenDocument (const wxString& filename); - virtual bool OnSaveDocument (const wxString& filename); + PlotFile& getPlotFile () + { return m_plot; } + + virtual bool OnOpenDocument (const wxString& filename); + virtual bool OnSaveDocument (const wxString& filename); virtual bool OnCloseDocument (); virtual bool IsModified () const; virtual void Modify (bool mod);