Commit 4e3a00fb authored by Clément Stenac's avatar Clément Stenac

Fix

parent dfb262bd
...@@ -1262,10 +1262,10 @@ void OpenDialog::OnFileBrowse( wxCommandEvent& WXUNUSED(event) ) ...@@ -1262,10 +1262,10 @@ void OpenDialog::OnFileBrowse( wxCommandEvent& WXUNUSED(event) )
file_dialog = new wxFileDialog( this, wxU(_("Open File")), file_dialog = new wxFileDialog( this, wxU(_("Open File")),
wxT(""), wxT(""), wxT("*"), wxOPEN | wxMULTIPLE ); wxT(""), wxT(""), wxT("*"), wxOPEN | wxMULTIPLE );
p_file_dialog->SetWildcard(wxU(_("All Files (*.*)|*" file_dialog->SetWildcard(wxU(_("All Files (*.*)|*"
"|Sound Files (*.mp3, *.ogg, etc.)|" EXTENSIONS_AUDIO "|Sound Files (*.mp3, *.ogg, etc.)|" EXTENSIONS_AUDIO
"|Video Files (*.avi, *.mpg, etc.)|" EXTENSIONS_VIDEO "|Video Files (*.avi, *.mpg, etc.)|" EXTENSIONS_VIDEO
"|Playlist Files (*.m3u, *.pls, etc.)|" EXTENSIONS_PLAYLIST "|Playlist Files (*.m3u, *.pls, etc.)|" EXTENSIONS_PLAYLIST
"|Subtitle Files (*.srt, *.sub, etc.)|" EXTENSIONS_SUBTITLE))); "|Subtitle Files (*.srt, *.sub, etc.)|" EXTENSIONS_SUBTITLE)));
if( file_dialog && file_dialog->ShowModal() == wxID_OK ) if( file_dialog && file_dialog->ShowModal() == wxID_OK )
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment