add a more readable wrapper for CreateDocument(wxEmptyString, wxDOC_NEW)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56018 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2008-10-01 17:04:43 +00:00
parent 0d4884cbf3
commit b54129836c
3 changed files with 14 additions and 1 deletions

View File

@@ -972,7 +972,7 @@ void wxDocManager::OnFileCloseAll(wxCommandEvent& WXUNUSED(event))
void wxDocManager::OnFileNew(wxCommandEvent& WXUNUSED(event))
{
CreateDocument( wxEmptyString, wxDOC_NEW );
CreateNewDocument();
}
void wxDocManager::OnFileOpen(wxCommandEvent& WXUNUSED(event))