memory leak fixes in file dialogs (patch 783812)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23764 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2003-09-20 23:59:55 +00:00
parent cc232c9342
commit 0b98a2524e
3 changed files with 3 additions and 3 deletions

View File

@@ -1230,7 +1230,7 @@ void wxGenericFileDialog::HandleAction( const wxString &fn )
wxString cwd;
wxSplitPath(filename, &cwd, NULL, NULL);
if ( cwd != wxGetWorkingDirectory() )
if ( cwd != wxGetCwd() )
{
wxSetWorkingDirectory(cwd);
}