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