X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4db97e24f5e2ad38970c55148ddb807399ecd191..f2049b683752950d1fe91aec07318e7f2122ff16:/include/wx/docview.h diff --git a/include/wx/docview.h b/include/wx/docview.h index a6efd5dd10..502a714446 100644 --- a/include/wx/docview.h +++ b/include/wx/docview.h @@ -510,6 +510,11 @@ public: protected: + // Called when a file selected from the MRU list doesn't exist any more. + // The default behaviour is to remove the file from the MRU and notify the + // user about it but this method can be overridden to customize it. + virtual void OnMRUFileNotExist(unsigned n, const wxString& filename); + // Open the MRU file with the given index in our associated file history. void DoOpenMRUFile(unsigned n); #if wxUSE_PRINTING_ARCHITECTURE