X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/17811bf9c958eb4148f37ef3ca289dbc4cf6aed6..71a09c3579dd5cb4cd8fa7fdc143561cbff74e12:/src/osx/carbon/colordlg.cpp diff --git a/src/osx/carbon/colordlg.cpp b/src/osx/carbon/colordlg.cpp index 07b4b05672..191286f6b1 100644 --- a/src/osx/carbon/colordlg.cpp +++ b/src/osx/carbon/colordlg.cpp @@ -1,11 +1,10 @@ ///////////////////////////////////////////////////////////////////////////// -// 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 // Modified by: // Created: 1998-01-01 -// RCS-ID: $Id$ // Copyright: (c) Stefan Csomor // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -14,6 +13,7 @@ #include "wx/colordlg.h" #include "wx/fontdlg.h" +#include "wx/modalhook.h" #if !USE_NATIVE_FONT_DIALOG_FOR_MACOSX @@ -47,6 +47,8 @@ bool wxColourDialog::Create(wxWindow *parent, wxColourData *data) int wxColourDialog::ShowModal() { + WX_HOOK_MODAL_DIALOG(); + RGBColor currentColor ; m_colourData.m_dataColour.GetRGBColor( ¤tColor );