+protected:
+ virtual bool DoSaveDocument(const wxString& filename);
+ virtual bool DoOpenDocument(const wxString& filename);
+
+ wxDECLARE_NO_COPY_CLASS(wxTextDocument);
+ DECLARE_CLASS(wxTextDocument)
+};
+
+// ----------------------------------------------------------------------------
+// A very simple text document class
+// ----------------------------------------------------------------------------
+
+class TextEditDocument : public wxTextDocument
+{
+public:
+ TextEditDocument() : wxTextDocument() { }
+ virtual wxTextCtrl* GetTextCtrl() const;
+
+ wxDECLARE_NO_COPY_CLASS(TextEditDocument);