From 2baf6272084a09c8afa0759b6611d9c6835127fb Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Fri, 4 Jul 2003 23:12:11 +0000 Subject: [PATCH] test multiple extensions in wxDocTemplate git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21659 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- samples/docview/docview.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/docview/docview.cpp b/samples/docview/docview.cpp index bb9694906a..f25a6203e7 100644 --- a/samples/docview/docview.cpp +++ b/samples/docview/docview.cpp @@ -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' ) ; -- 2.45.2