#include "wx/app.h"
#endif
+#include "wx/control.h"
#include "wx/thread.h"
+#include "wx/evtloop.h"
+#include "wx/modalhook.h"
#include "wx/osx/private.h"
int wxMessageDialog::ShowModal()
{
+ WX_HOOK_MODAL_DIALOG();
+
+ wxCFEventLoopPauseIdleEvents pause;
+
int resultbutton = wxID_CANCEL;
const long style = GetMessageDialogStyle();