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:
parent
a74d082e8c
commit
8b558f1228
@ -292,6 +292,9 @@ pascal Boolean CrossPlatformFilterCallback(
|
||||
|
||||
int wxFileDialog::ShowModal()
|
||||
{
|
||||
m_paths.Empty();
|
||||
m_fileNames.Empty();
|
||||
|
||||
OSErr err;
|
||||
NavDialogCreationOptions dialogCreateOptions;
|
||||
|
||||
|
@ -153,6 +153,7 @@ int wxFileDialog::ShowModal()
|
||||
|
||||
m_path = wxEmptyString;
|
||||
m_fileNames.Clear();
|
||||
m_paths.Clear();
|
||||
|
||||
wxNonOwnedWindow* parentWindow = NULL;
|
||||
int returnCode = -1;
|
||||
|
Loading…
Reference in New Issue
Block a user