X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/643e9cf9f61fdbe517b15477f9247ca8ac0b3578..12bb29f5432174ecbd65549bda832d70d34a98ae:/src/cocoa/filedlg.mm diff --git a/src/cocoa/filedlg.mm b/src/cocoa/filedlg.mm index 613f75bfea..e953896a7b 100644 --- a/src/cocoa/filedlg.mm +++ b/src/cocoa/filedlg.mm @@ -33,7 +33,7 @@ #include "wx/cocoa/autorelease.h" #include "wx/cocoa/string.h" -#include "wx/testing.h" +#include "wx/modalhook.h" #import #import @@ -197,7 +197,7 @@ void wxFileDialog::SetPath(const wxString& path) int wxFileDialog::ShowModal() { - WX_TESTING_SHOW_MODAL_HOOK(); + WX_HOOK_MODAL_DIALOG(); wxAutoNSAutoreleasePool thePool;