Applied #9520: Fix to allow repeated use of wxFileDialog object

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62109 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart 2009-09-25 07:51:50 +00:00
parent a74d082e8c
commit 8b558f1228
2 changed files with 4 additions and 0 deletions

View File

@ -292,6 +292,9 @@ pascal Boolean CrossPlatformFilterCallback(
int wxFileDialog::ShowModal()
{
m_paths.Empty();
m_fileNames.Empty();
OSErr err;
NavDialogCreationOptions dialogCreateOptions;

View File

@ -153,6 +153,7 @@ int wxFileDialog::ShowModal()
m_path = wxEmptyString;
m_fileNames.Clear();
m_paths.Clear();
wxNonOwnedWindow* parentWindow = NULL;
int returnCode = -1;