// Author: Julian Smart
// Modified by:
// Created: 17/09/98
-// RCS-ID: $Id$
// Copyright: (c) Julian Smart
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#endif
#include "wx/evtloop.h"
+#include "wx/modalhook.h"
#ifdef __VMS__
#pragma message disable nosimpint
// Shows a dialog modally, returning a return code
int wxDialog::ShowModal()
{
+ WX_HOOK_MODAL_DIALOG();
+
Show(true);
// after the event loop ran, the widget might already have been destroyed