]> git.saurik.com Git - wxWidgets.git/blobdiff - src/osx/carbon/colordlg.cpp
use correct scale when drawing
[wxWidgets.git] / src / osx / carbon / colordlg.cpp
index 1d678431098c494b6bece1982e98a88003816c5d..c5a7b1c47f899f397b11946fba3e06b64eb1d50e 100644 (file)
@@ -14,6 +14,7 @@
 
 #include "wx/colordlg.h"
 #include "wx/fontdlg.h"
+#include "wx/modalhook.h"
 
 
 #if !USE_NATIVE_FONT_DIALOG_FOR_MACOSX
@@ -47,6 +48,8 @@ bool wxColourDialog::Create(wxWindow *parent, wxColourData *data)
 
 int wxColourDialog::ShowModal()
 {
+    WX_HOOK_MODAL_DIALOG();
+
     RGBColor currentColor ;
 
     m_colourData.m_dataColour.GetRGBColor( &currentColor );