Fix wild card in Exclusive Apps dialog for Linux (from Gianfranco Costamagna)

This commit is contained in:
Charlie Fenton 2013-02-11 18:53:03 -08:00 committed by Oliver Bock
parent 6352f9ca9d
commit dbb669fc10
1 changed files with 2 additions and 2 deletions

View File

@ -800,9 +800,9 @@ void CDlgAdvPreferences::OnAddExclusiveApp(wxCommandEvent&) {
wxT("C:/Program Files"), wxT(""), wxT("*.exe"), wxT("C:/Program Files"), wxT(""), wxT("*.exe"),
wxFD_OPEN|wxFD_FILE_MUST_EXIST|wxFD_CHANGE_DIR|wxFD_MULTIPLE|wxFD_CHANGE_DIR); wxFD_OPEN|wxFD_FILE_MUST_EXIST|wxFD_CHANGE_DIR|wxFD_MULTIPLE|wxFD_CHANGE_DIR);
#else #else
//TODO: fill in the default directory and wildcard for Linux //TODO: fill in the default directory for Linux
wxFileDialog picker(this, _("Applications to add"), wxFileDialog picker(this, _("Applications to add"),
wxT("/"), wxT(""), wxT("*.*"), wxT("/"), wxT(""), wxT("*"),
wxFD_OPEN|wxFD_FILE_MUST_EXIST|wxFD_CHANGE_DIR|wxFD_MULTIPLE|wxFD_CHANGE_DIR); wxFD_OPEN|wxFD_FILE_MUST_EXIST|wxFD_CHANGE_DIR|wxFD_MULTIPLE|wxFD_CHANGE_DIR);
#endif #endif
if (picker.ShowModal() != wxID_OK) return; if (picker.ShowModal() != wxID_OK) return;