]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/filedlgg.cpp
Commited latest SciTech changes into CVS. This includes updates to the
[wxWidgets.git] / src / generic / filedlgg.cpp
index 24ed3ae470ae35f682e39c649401db9f5dbd920d..41e6ad08d02908cebf6ce468e256952cfdf66ca7 100644 (file)
@@ -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);