diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-11-26 09:44:23 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-11-26 09:44:23 +0000 |
| commit | 0b5170e8d071e5fc1eac9757c00cd3e2c365ab5f (patch) | |
| tree | a31b250b8248c301402afd1419cc836c5034b749 /src | |
| parent | 59050492f28bc23851dec1e9eafe52b93e482947 (diff) | |
Add some useful selectors in the add file dialog.
Diffstat (limited to 'src')
| -rw-r--r-- | src/wx/content_panel.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wx/content_panel.cc b/src/wx/content_panel.cc index a84698032..59886229c 100644 --- a/src/wx/content_panel.cc +++ b/src/wx/content_panel.cc @@ -245,7 +245,7 @@ ContentPanel::add_file_clicked () /* The wxFD_CHANGE_DIR here prevents a `could not set working directory' error 123 on Windows when using non-Latin filenames or paths. */ - wxFileDialog* d = new wxFileDialog (_panel, _("Choose a file or files"), wxT (""), wxT (""), wxT ("*.*"), wxFD_MULTIPLE | wxFD_CHANGE_DIR); + wxFileDialog* d = new wxFileDialog (_panel, _("Choose a file or files"), wxT (""), wxT (""), wxT ("All files|*.*|Subtitle files|*.srt;*.xml|Audio files|*.wav;*.w64;*.flac;*.aif;*.aiff"), wxFD_MULTIPLE | wxFD_CHANGE_DIR); int const r = d->ShowModal (); if (r != wxID_OK) { |
