// Author: Julian Smart
// Modified by:
// Created: 04/01/98
-// RCS-ID: $Id$
// Copyright: (c) Julian Smart
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#include "wx/settings.h"
#endif
+#include "wx/modalhook.h"
#include "wx/motif/private.h"
// ----------------------------------------------------------------------------
int wxMessageDialog::ShowModal()
{
+ WX_HOOK_MODAL_DIALOG();
+
const long style = GetMessageDialogStyle();
DialogCreateFunction dialogCreateFunction;
Display* dpy = XtDisplay(wParent);
- if (m_backgroundColour.Ok())
+ if (m_backgroundColour.IsOk())
{
wxComputeColours (dpy, & m_backgroundColour, NULL);