]> git.saurik.com Git - wxWidgets.git/blobdiff - src/osx/carbon/colordlg.cpp
Add wxTEST_DIALOG for testing of modal dialogs.
[wxWidgets.git] / src / osx / carbon / colordlg.cpp
index 1d678431098c494b6bece1982e98a88003816c5d..18c4af745a7811cf84ec6e7f80b56465c67c4523 100644 (file)
@@ -14,6 +14,7 @@
 
 #include "wx/colordlg.h"
 #include "wx/fontdlg.h"
+#include "wx/testing.h"
 
 
 #if !USE_NATIVE_FONT_DIALOG_FOR_MACOSX
@@ -47,6 +48,8 @@ bool wxColourDialog::Create(wxWindow *parent, wxColourData *data)
 
 int wxColourDialog::ShowModal()
 {
+    WX_TESTING_SHOW_MODAL_HOOK();
+
     RGBColor currentColor ;
 
     m_colourData.m_dataColour.GetRGBColor( &currentColor );