]> git.saurik.com Git - wxWidgets.git/blobdiff - src/osx/cocoa/msgdlg.mm
Remove unnecessary base class OnPaint() call from wxGenericColourDialog.
[wxWidgets.git] / src / osx / cocoa / msgdlg.mm
index 189d0166b34cfc966a14741c5acb63e70ef35d5b..9e4ab729f16779ef0485dba43091b532f07aca87 100644 (file)
@@ -18,7 +18,9 @@
     #include "wx/app.h"
 #endif
 
+#include "wx/control.h"
 #include "wx/thread.h"
+#include "wx/evtloop.h"
 #include "wx/osx/private.h"
 
 
@@ -60,6 +62,8 @@ wxMessageDialog::~wxMessageDialog()
 
 int wxMessageDialog::ShowModal()
 {
+    wxCFEventLoopPauseIdleEvents pause;
+    
     int resultbutton = wxID_CANCEL;
 
     const long style = GetMessageDialogStyle();