- wxString pathTmp = wxFileSelector(_("Select a file"), _T(""), _T(""), _T(""),
- descrBuf, 0, wxTheApp->GetTopWindow());
+ int FilterIndex = 0;
+ wxString pathTmp = wxFileSelectorEx(_("Select a file"),
+ _T(""),
+ _T(""),
+ &FilterIndex,
+ descrBuf,
+ 0,
+ wxTheApp->GetTopWindow());