#include "wx/control.h"
#include "wx/thread.h"
#include "wx/evtloop.h"
-#include "wx/testing.h"
+#include "wx/modalhook.h"
#include "wx/osx/private.h"
int wxMessageDialog::ShowModal()
{
- WX_TESTING_SHOW_MODAL_HOOK();
+ WX_HOOK_MODAL_DIALOG();
wxCFEventLoopPauseIdleEvents pause;