]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/docview.h
Fix so OGL can build without wxBuffer
[wxWidgets.git] / include / wx / docview.h
index b564db1b67bef95296626fa31e2e44caca7a81e5..4cd975e70c9b469cece60505fc12841e0c0f915f 100644 (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);