#endif
#include "wx/evtloop.h"
+#include "wx/testing.h"
//-----------------------------------------------------------------------------
// wxDialog
int wxDialog::ShowModal()
{
+ WX_TESTING_SHOW_MODAL_HOOK();
+
if ( IsModal() )
{
wxFAIL_MSG( wxT("wxDialog:ShowModal called twice") );