projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
5905049
)
Add some useful selectors in the add file dialog.
author
Carl Hetherington
<cth@carlh.net>
Thu, 26 Nov 2015 09:44:23 +0000
(09:44 +0000)
committer
Carl Hetherington
<cth@carlh.net>
Thu, 26 Nov 2015 09:44:23 +0000
(09:44 +0000)
src/wx/content_panel.cc
patch
|
blob
|
history
diff --git
a/src/wx/content_panel.cc
b/src/wx/content_panel.cc
index a84698032c673543a4e3ba8c704f73afaad7cd7f..59886229c9be06892c6e646e70e8be2d7b722985 100644
(file)
--- 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.
*/
/* 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) {
int const r = d->ShowModal ();
if (r != wxID_OK) {