compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8495 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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);
|
||||||
|
Reference in New Issue
Block a user