/////////////////////////////////////////////////////////////////////////////
-// Name: colordlg.cpp
+// Name: src/osx/carbon/colordlg.cpp
// Purpose: wxColourDialog class. NOTE: you can use the generic class
// if you wish, instead of implementing this.
// Author: Stefan Csomor
#include "wx/wxprec.h"
-#include "wx/osx/colordlg.h"
+#include "wx/colordlg.h"
#include "wx/fontdlg.h"
+#include "wx/modalhook.h"
#if !USE_NATIVE_FONT_DIALOG_FOR_MACOSX
int wxColourDialog::ShowModal()
{
+ WX_HOOK_MODAL_DIALOG();
+
RGBColor currentColor ;
m_colourData.m_dataColour.GetRGBColor( ¤tColor );