#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);