#include "wx/dialog.h"
#include "wx/evtloop.h"
+#include "wx/testing.h"
#ifndef WX_PRECOMP
#include "wx/app.h"
// Replacement for Show(true) for modal dialogs - returns return code
int wxDialog::ShowModal()
{
+ WX_TESTING_SHOW_MODAL_HOOK();
+
m_modality = wxDIALOG_MODALITY_APP_MODAL;
Show();