X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/eb017efed98421b756ff987f55f37853f5d5c7a8..88f23fdd8366d57d15cba42d152539ff9ccbdd39:/samples/docview/docview.cpp diff --git a/samples/docview/docview.cpp b/samples/docview/docview.cpp index f7312b2b30..f25a6203e7 100644 --- a/samples/docview/docview.cpp +++ b/samples/docview/docview.cpp @@ -5,7 +5,7 @@ // Modified by: // Created: 04/01/98 // RCS-ID: $Id$ -// Copyright: (c) Julian Smart and Markus Holzem +// Copyright: (c) Julian Smart // Licence: wxWindows license ///////////////////////////////////////////////////////////////////////////// @@ -91,7 +91,7 @@ bool MyApp::OnInit(void) else { //// Create a template relating text documents to their views - (void) new wxDocTemplate(m_docManager, _T("Text"), _T("*.txt"), _T(""), _T("txt"), _T("Text Doc"), _T("Text View"), + (void) new wxDocTemplate(m_docManager, _T("Text"), _T("*.txt;*.text"), _T(""), _T("txt;text"), _T("Text Doc"), _T("Text View"), CLASSINFO(TextEditDocument), CLASSINFO(TextEditView)); #ifdef __WXMAC__ wxFileName::MacRegisterDefaultTypeAndCreator( "txt" , 'TEXT' , 'WXMA' ) ;