]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/docview.cpp
Document wxFFile::GetName().
[wxWidgets.git] / src / common / docview.cpp
index e4f6bf3bdb2b5f097298e56a8f30be8f83f9ef68..eba884d600cce306ca3bdd636b3fcca7951793ad 100644 (file)
@@ -397,6 +397,9 @@ bool wxDocument::OnSaveDocument(const wxString& file)
     if ( !DoSaveDocument(file) )
         return false;
 
+    if ( m_commandProcessor )
+        m_commandProcessor->MarkAsSaved();
+
     Modify(false);
     SetFilename(file);
     SetDocumentSaved(true);