X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f368ba4b289c4cda64ea3d52c1ac905627fc8578..87df17a11b0017d31c09f767bd921abb27193bee:/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);