]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/filedlgg.cpp
Removed TABs that had gotten in to the source
[wxWidgets.git] / src / generic / filedlgg.cpp
index e58ccf72195c252500a197df4ea243d4f8695401..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
     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);
     {
         wxString cwd;
         wxSplitPath(filename, &cwd, NULL, NULL);