// Author: Vaclav Slavik
// Modified by:
// Created: 2004/06/04
-// RCS-ID: $Id$
// Copyright: (c) Vaclav Slavik, 2004
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#if wxUSE_COLOURDLG
#include "wx/colordlg.h"
+#include "wx/modalhook.h"
#ifndef WX_PRECOMP
#include "wx/intl.h"
#include <gtk/gtk.h>
#include "wx/gtk/private.h"
#include "wx/gtk/private/gtk2-compat.h"
+#include "wx/gtk/private/dialogcount.h"
#if wxUSE_LIBHILDON
#include <hildon-widgets/hildon-color-selector.h>
int wxColourDialog::ShowModal()
{
+ WX_HOOK_MODAL_DIALOG();
+
ColourDataToDialog();
+ wxOpenModalDialogLocker modalLocker;
+
gint result = gtk_dialog_run(GTK_DIALOG(m_widget));
gtk_widget_hide(m_widget);