X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f368ba4b289c4cda64ea3d52c1ac905627fc8578..cd378f94bec1edc0f991ee55b02bfe3084de94e0:/src/generic/filedlgg.cpp diff --git a/src/generic/filedlgg.cpp b/src/generic/filedlgg.cpp index e58ccf7219..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 ( GetWindowStyle() & wxCHANGE_DIR ) + if ( m_dialogStyle & wxCHANGE_DIR ) { wxString cwd; wxSplitPath(filename, &cwd, NULL, NULL);