X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0b9ab0bd824b6b9c93849928d67de1ec71e7c167..9fe4c99cc5e3cb63ae2fecfdb9e892781732cad6:/include/wx/docview.h diff --git a/include/wx/docview.h b/include/wx/docview.h index b564db1b67..4cd975e70c 100644 --- a/include/wx/docview.h +++ b/include/wx/docview.h @@ -300,6 +300,7 @@ public: // Handlers for common user commands void OnFileClose(wxCommandEvent& event); + void OnFileCloseAll(wxCommandEvent& event); void OnFileNew(wxCommandEvent& event); void OnFileOpen(wxCommandEvent& event); void OnFileRevert(wxCommandEvent& event); @@ -360,6 +361,9 @@ public: void AddDocument(wxDocument *doc); void RemoveDocument(wxDocument *doc); + // closes all currently open documents + bool CloseDocuments(bool force = TRUE); + // Clear remaining documents and templates bool Clear(bool force = TRUE);