#define HINSTANCE HANDLE
#endif
+// defined in common/init.cpp
+extern int wxEntryReal(int& argc, wxChar **argv);
+
// ============================================================================
// implementation: various entry points
// ============================================================================
// OnFatalException() if necessary
#if wxUSE_ON_FATAL_EXCEPTION
-// defined in common/init.cpp
-extern int wxEntryReal(int& argc, wxChar **argv);
-
// global pointer to exception information, only valid inside OnFatalException,
// used by wxStackWalker and wxCrashReport
extern EXCEPTION_POINTERS *wxGlobalSEInformation = NULL;
#else // !wxUSE_ON_FATAL_EXCEPTION
+#ifdef __VISUALC__
+
static void
wxSETranslator(unsigned int WXUNUSED(code), EXCEPTION_POINTERS * WXUNUSED(ep))
{
throw;
}
+#endif // __VISUALC__
+
int wxEntry(int& argc, wxChar **argv)
{
DisableAutomaticSETranslator();