X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/747592e7cb116a051e0964860a7e03a297704574..87f0b1323b7ac77f02133b836c8dfee63b0fd387:/src/cocoa/dirdlg.mm diff --git a/src/cocoa/dirdlg.mm b/src/cocoa/dirdlg.mm index 1c3c95d8a5..bc4613aa22 100644 --- a/src/cocoa/dirdlg.mm +++ b/src/cocoa/dirdlg.mm @@ -31,6 +31,7 @@ #endif #include "wx/filename.h" +#include "wx/testing.h" #include "wx/cocoa/autorelease.h" #include "wx/cocoa/string.h" @@ -104,6 +105,8 @@ wxDirDialog::~wxDirDialog() int wxDirDialog::ShowModal() { + WX_TESTING_SHOW_MODAL_HOOK(); + wxAutoNSAutoreleasePool thePool; m_fileNames.Empty();