33#include <wx/docview.h>
66 wxDocManager* docManager = wxGetApp().docManager();
67 wxDocument *doc = docManager->GetCurrentDocument();
71 doc->DeleteAllViews();
129 wxDocManager* manager = wxGetApp().docManager();
130 if (manager->GetCurrentView() != NULL) {
virtual CloseDocumentCmd * create() const
virtual std::string shortName() const
virtual std::string icon() const
virtual ~CloseDocumentCmd()
static const std::string CMD_ICON_CLOSE_DOC
Icon location for the "Close Document" command.
static const std::string CMD_SNAME_CLOSE_DOC
Command name for the "Close Document" command.