X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5fce622a219897e1dde2586f74466cd123dd15e8..404b319a85dadd7decf7a5a5331020520031a41c:/src/msw/dirdlg.cpp?ds=sidebyside diff --git a/src/msw/dirdlg.cpp b/src/msw/dirdlg.cpp index 6b8e2027e1..1760eb8d91 100644 --- a/src/msw/dirdlg.cpp +++ b/src/msw/dirdlg.cpp @@ -30,6 +30,7 @@ (defined(__HANDHELDPC__) && (_WIN32_WCE >= 500))) #include "wx/dirdlg.h" +#include "wx/testing.h" #ifndef WX_PRECOMP #include "wx/utils.h" @@ -220,6 +221,8 @@ void wxDirDialog::SetPath(const wxString& path) int wxDirDialog::ShowModal() { + WX_TESTING_SHOW_MODAL_HOOK(); + wxWindow* const parent = GetParent(); WXHWND hWndParent = parent ? GetHwndOf(parent) : NULL;