pf->GetHeaderInterface()->SetText(nPane, sText);
}
+
+/**
+ * @brief virtual override called just before document is saved and closed
+ */
+BOOL CDirDoc::SaveModified()
+{
+ // Do not allow closing if there is a thread running
+ if (m_diffThread.GetThreadState() == THREAD_COMPARING)
+ return FALSE;
+
+ return CDocument::SaveModified();
+}
\ No newline at end of file
virtual void Serialize(CArchive& ar); // overridden for document i/o
protected:
virtual BOOL OnNewDocument();
+ virtual BOOL SaveModified();
//}}AFX_VIRTUAL
// Implementation
+2003-10-23 Perry
+ BUG: [ 828619 ] Prevent closing dir doc whilst scanning
+ WinMerge: DirDoc.cpp DirDoc.h
+
2003-10-23 Kimmo
BUG: [ 815147 ] Scrollwheel scrolls too far at end of file
editlib: ccrystaltextview.cpp