added Close All command support to wxDocView (patch 496068)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13248 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2001-12-30 17:35:07 +00:00
parent d06a66f526
commit 33a201363a
4 changed files with 35 additions and 2 deletions

View File

@@ -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);