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