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:
@@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user