X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6de2f8b9da9c738da63e1a431b4d53f070b1599a..6bbd334480935bcb47955797fa1f18cd8d9b21a8:/src/common/docview.cpp diff --git a/src/common/docview.cpp b/src/common/docview.cpp index cb1ddc4380..2ea1501dda 100644 --- a/src/common/docview.cpp +++ b/src/common/docview.cpp @@ -1154,7 +1154,11 @@ wxDocTemplate *wxDocManager::FindTemplateForPath(const wxString& path) // template extension. wxDocTemplate *wxDocManager::SelectDocumentPath(wxDocTemplate **templates, +#ifdef __WXMSW__ int noTemplates, +#else + int WXUNUSED(noTemplates), +#endif wxString& path, long WXUNUSED(flags), bool WXUNUSED(save)) @@ -1183,9 +1187,12 @@ wxDocTemplate *wxDocManager::SelectDocumentPath(wxDocTemplate **templates, int FilterIndex = 0; wxString pathTmp = wxFileSelectorEx(_("Select a file"), - _T(""), _T(""), _T(""), + _T(""), + _T(""), &FilterIndex, - descrBuf, 0, wxTheApp->GetTopWindow()); + descrBuf, + 0, + wxTheApp->GetTopWindow()); if (!pathTmp.IsEmpty()) {