X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/71307412f5aef70603636992a512d2c133361512..67a083dd38d1ad1df8c6a25a58bb2f0ec4f3a936:/samples/sound/sound.cpp?ds=sidebyside diff --git a/samples/sound/sound.cpp b/samples/sound/sound.cpp index 22be97508f..a517d1a405 100644 --- a/samples/sound/sound.cpp +++ b/samples/sound/sound.cpp @@ -984,7 +984,7 @@ void MyFrame::OnSelectFile(wxCommandEvent& WXUNUSED(event)) #if wxUSE_FILEDLG wxFileDialog dlg(this, _T("Choose a sound file"), wxEmptyString, wxEmptyString, - _T("WAV files (*.wav)|*.wav"), wxOPEN|wxCHANGE_DIR); + _T("WAV files (*.wav)|*.wav"), wxFD_OPEN|wxFD_CHANGE_DIR); if ( dlg.ShowModal() == wxID_OK ) { m_soundFile = dlg.GetPath();