#include "wx/msw/private.h"
+// For MB_TASKMODAL
+#ifdef __WXWINCE__
+#include "wx/msw/wince/missing.h"
+#endif
+
#if wxUSE_THREADS
#include "wx/thread.h"
// wxModalEventLoop depends on this (so we can't just use ON_BLOCK_EXIT or
// something similar here)
#if wxUSE_EXCEPTIONS
- bool retryAfterException;
+ bool retryAfterException = false;
do {
retryAfterException=false;
#endif
// there is none yet. OTOH, wxCATCH_ALL isn't
// expanded unless wxUSE_EXCEPTIONS, so its
// safe to use throw here.
- throw;
+ throw;
+ default:
break;
}
)