git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55143
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
IMPLEMENT_DYNAMIC_CLASS(TextEditDocument, wxDocument)
// Since text windows have their own method for saving to/loading from files,
IMPLEMENT_DYNAMIC_CLASS(TextEditDocument, wxDocument)
// Since text windows have their own method for saving to/loading from files,
-// we override OnSave/OpenDocument instead of Save/LoadObject
+// we override DoSave/OpenDocument instead of Save/LoadObject
bool TextEditDocument::DoSaveDocument(const wxString& filename)
{
TextEditView* view = GetFirstView();
bool TextEditDocument::DoSaveDocument(const wxString& filename)
{
TextEditView* view = GetFirstView();