#include "wx/thread.h"
#include "wx/osx/private.h"
-#include "wx/testing.h"
+#include "wx/modalhook.h"
IMPLEMENT_CLASS(wxMessageDialog, wxDialog)
int wxMessageDialog::ShowModal()
{
- WX_TESTING_SHOW_MODAL_HOOK();
+ WX_HOOK_MODAL_DIALOG();
int resultbutton = wxID_CANCEL;