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
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user