]> git.saurik.com Git - wxWidgets.git/blobdiff - src/osx/cocoa/msgdlg.mm
Add missing WXK constants for the control keys
[wxWidgets.git] / src / osx / cocoa / msgdlg.mm
index 73075caaa7d06a9b8b6d0e2b3336a4c90b348158..9e4ab729f16779ef0485dba43091b532f07aca87 100644 (file)
@@ -20,6 +20,7 @@
 
 #include "wx/control.h"
 #include "wx/thread.h"
+#include "wx/evtloop.h"
 #include "wx/osx/private.h"
 
 
@@ -61,6 +62,8 @@ wxMessageDialog::~wxMessageDialog()
 
 int wxMessageDialog::ShowModal()
 {
+    wxCFEventLoopPauseIdleEvents pause;
+    
     int resultbutton = wxID_CANCEL;
 
     const long style = GetMessageDialogStyle();