From: Vadim Zeitlin Date: Sun, 8 Oct 2000 23:40:43 +0000 (+0000) Subject: compilation fix X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/f368ba4b289c4cda64ea3d52c1ac905627fc8578?hp=3f6638b82b01d7691b321dbcfb08765d559e4c59 compilation fix git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8495 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/generic/filedlgg.cpp b/src/generic/filedlgg.cpp index 24ed3ae470..e58ccf7219 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 ( style & wxCHANGE_DIR ) + if ( GetWindowStyle() & wxCHANGE_DIR ) { wxString cwd; wxSplitPath(filename, &cwd, NULL, NULL);