diff --git a/src/osx/cocoa/filedlg.mm b/src/osx/cocoa/filedlg.mm index 6d13927ecf..c212ecea36 100644 --- a/src/osx/cocoa/filedlg.mm +++ b/src/osx/cocoa/filedlg.mm @@ -140,7 +140,7 @@ int wxFileDialog::ShowModal() wxCFStringRef cf( m_message ); - wxCFStringRef dir( m_path ); + wxCFStringRef dir( m_dir ); wxCFStringRef file( m_fileName ); m_path = wxEmptyString;