]> git.saurik.com Git - wxWidgets.git/blobdiff - src/osx/cocoa/msgdlg.mm
add wrappers to avoid compiling code which will never be used
[wxWidgets.git] / src / osx / cocoa / msgdlg.mm
index 9e4ab729f16779ef0485dba43091b532f07aca87..8218fc7e872dad4920a334ec3e4efbbdb03c710c 100644 (file)
@@ -21,6 +21,7 @@
 #include "wx/control.h"
 #include "wx/thread.h"
 #include "wx/evtloop.h"
+#include "wx/testing.h"
 #include "wx/osx/private.h"
 
 
@@ -62,6 +63,8 @@ wxMessageDialog::~wxMessageDialog()
 
 int wxMessageDialog::ShowModal()
 {
+    WX_TESTING_SHOW_MODAL_HOOK();
+
     wxCFEventLoopPauseIdleEvents pause;
     
     int resultbutton = wxID_CANCEL;