// template extension.
wxDocTemplate *wxDocManager::SelectDocumentPath(wxDocTemplate **templates,
+#ifdef __WXMSW__
int noTemplates,
+#else
+ int WXUNUSED(noTemplates),
+#endif
wxString& path,
long WXUNUSED(flags),
bool WXUNUSED(save))
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())
{