compilation fix

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8495 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2000-10-08 23:40:43 +00:00
parent 3f6638b82b
commit f368ba4b28

View File

@@ -1098,7 +1098,7 @@ void wxFileDialog::HandleAction( const wxString &fn )
SetPath( filename ); SetPath( filename );
// change to the directory where the user went if asked // change to the directory where the user went if asked
if ( style & wxCHANGE_DIR ) if ( GetWindowStyle() & wxCHANGE_DIR )
{ {
wxString cwd; wxString cwd;
wxSplitPath(filename, &cwd, NULL, NULL); wxSplitPath(filename, &cwd, NULL, NULL);