X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5276b0a53cef4815230e39b54d2ecda14f72cbd1..8a31648287be0ef976f133de2786b137f1e98340:/samples/sound/sound.cpp?ds=sidebyside diff --git a/samples/sound/sound.cpp b/samples/sound/sound.cpp index d41c7a2a80..abae8a45ce 100644 --- a/samples/sound/sound.cpp +++ b/samples/sound/sound.cpp @@ -993,7 +993,13 @@ void MyFrame::OnSelectFile(wxCommandEvent& WXUNUSED(event)) #if wxUSE_FILEDLG wxFileDialog dlg(this, wxT("Choose a sound file"), wxEmptyString, wxEmptyString, - wxT("WAV files (*.wav)|*.wav"), wxFD_OPEN|wxFD_CHANGE_DIR); + wxString::Format + ( + "WAV files (*.wav)|*.wav|All files (%s)|%s", + wxFileSelectorDefaultWildcardStr, + wxFileSelectorDefaultWildcardStr + ), + wxFD_OPEN|wxFD_CHANGE_DIR); if ( dlg.ShowModal() == wxID_OK ) { m_soundFile = dlg.GetPath();