compilation fix for !wxUSE_ON_FATAL_EXCEPTION
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31963 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -61,6 +61,9 @@
|
|||||||
#define HINSTANCE HANDLE
|
#define HINSTANCE HANDLE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
// defined in common/init.cpp
|
||||||
|
extern int wxEntryReal(int& argc, wxChar **argv);
|
||||||
|
|
||||||
// ============================================================================
|
// ============================================================================
|
||||||
// implementation: various entry points
|
// implementation: various entry points
|
||||||
// ============================================================================
|
// ============================================================================
|
||||||
@@ -97,9 +100,6 @@
|
|||||||
// OnFatalException() if necessary
|
// OnFatalException() if necessary
|
||||||
#if wxUSE_ON_FATAL_EXCEPTION
|
#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,
|
// global pointer to exception information, only valid inside OnFatalException,
|
||||||
// used by wxStackWalker and wxCrashReport
|
// used by wxStackWalker and wxCrashReport
|
||||||
extern EXCEPTION_POINTERS *wxGlobalSEInformation = NULL;
|
extern EXCEPTION_POINTERS *wxGlobalSEInformation = NULL;
|
||||||
@@ -226,6 +226,8 @@ int wxEntry(int& argc, wxChar **argv)
|
|||||||
|
|
||||||
#else // !wxUSE_ON_FATAL_EXCEPTION
|
#else // !wxUSE_ON_FATAL_EXCEPTION
|
||||||
|
|
||||||
|
#ifdef __VISUALC__
|
||||||
|
|
||||||
static void
|
static void
|
||||||
wxSETranslator(unsigned int WXUNUSED(code), EXCEPTION_POINTERS * WXUNUSED(ep))
|
wxSETranslator(unsigned int WXUNUSED(code), EXCEPTION_POINTERS * WXUNUSED(ep))
|
||||||
{
|
{
|
||||||
@@ -233,6 +235,8 @@ wxSETranslator(unsigned int WXUNUSED(code), EXCEPTION_POINTERS * WXUNUSED(ep))
|
|||||||
throw;
|
throw;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif // __VISUALC__
|
||||||
|
|
||||||
int wxEntry(int& argc, wxChar **argv)
|
int wxEntry(int& argc, wxChar **argv)
|
||||||
{
|
{
|
||||||
DisableAutomaticSETranslator();
|
DisableAutomaticSETranslator();
|
||||||
|
Reference in New Issue
Block a user