From d1f82b073f53542b6baf63f6485962da63ab85d9 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Wed, 23 Feb 2000 15:32:14 +0000 Subject: [PATCH] fix to allow non-extension based template choosing to work from Vegh Janos git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6233 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/docview.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/common/docview.cpp b/src/common/docview.cpp index bcd9d3d..8f69392 100644 --- a/src/common/docview.cpp +++ b/src/common/docview.cpp @@ -1342,9 +1342,6 @@ wxDocTemplate *wxDocManager::SelectDocumentPath(wxDocTemplate **templates, m_lastDirectory = wxPathOnly(pathTmp); path = pathTmp; - wxString theExt = FindExtension(path); - if (!theExt) - return (wxDocTemplate *) NULL; // This is dodgy in that we're selecting the template on the // basis of the file extension, which may not be a standard -- 2.7.4