X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3f6638b82b01d7691b321dbcfb08765d559e4c59..1341230e80db9f532df40e28e8cb799136c4883d:/src/generic/filedlgg.cpp?ds=sidebyside diff --git a/src/generic/filedlgg.cpp b/src/generic/filedlgg.cpp index 24ed3ae470..41e6ad08d0 100644 --- a/src/generic/filedlgg.cpp +++ b/src/generic/filedlgg.cpp @@ -1098,7 +1098,7 @@ void wxFileDialog::HandleAction( const wxString &fn ) SetPath( filename ); // change to the directory where the user went if asked - if ( style & wxCHANGE_DIR ) + if ( m_dialogStyle & wxCHANGE_DIR ) { wxString cwd; wxSplitPath(filename, &cwd, NULL, NULL);