+ virtual bool OnCloseDocument ();
+ virtual bool IsModified () const;
+ virtual void Modify (bool mod);
+};
+\r
+\r
+class PlotFileDocument: public wxDocument
+{
+ DECLARE_DYNAMIC_CLASS(PlotFileDocument)
+
+private:
+ PlotFile m_plot;
+ wxString m_namePlot;
+
+public:
+ PlotFileDocument ()
+ {}
+
+ ~PlotFileDocument ()
+ {}
+
+ const wxString& getPlotName () const
+ { return m_namePlot; }
+
+ const PlotFile& getPlotFile () const
+ { return m_plot; }
+
+ PlotFile& getPlotFile ()\r
+ { return m_plot; }\r
+\r
+ virtual bool OnOpenDocument (const wxString& filename);
+ virtual bool OnCloseDocument ();
+ virtual bool IsModified () const;