]> git.saurik.com Git - wxWidgets.git/commitdiff
compilation fix
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 8 Oct 2000 23:40:43 +0000 (23:40 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 8 Oct 2000 23:40:43 +0000 (23:40 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8495 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/generic/filedlgg.cpp

index 24ed3ae470ae35f682e39c649401db9f5dbd920d..e58ccf72195c252500a197df4ea243d4f8695401 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 ( GetWindowStyle() & wxCHANGE_DIR )
     {
         wxString cwd;
         wxSplitPath(filename, &cwd, NULL, NULL);