#if wxUSE_RICHMSGDLG
#include "wx/richmsgdlg.h"
-#include "wx/testing.h"
+#include "wx/modalhook.h"
#ifndef WX_PRECOMP
#include "wx/msw/private.h"
int wxRichMessageDialog::ShowModal()
{
- WX_TESTING_SHOW_MODAL_HOOK();
+ WX_HOOK_MODAL_DIALOG();
#ifdef wxHAS_MSW_TASKDIALOG
using namespace wxMSWMessageDialog;