]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/seh.h
Cast for argument to delete[] - VC6 doesn't want to delete a const pointer
[wxWidgets.git] / include / wx / msw / seh.h
index caab1a437031db989f37ddc2428fa42c2a015245..edcefb8fd35121bba4968d8306cf27835ef44472 100644 (file)
@@ -47,7 +47,7 @@
     #define wxSEH_HANDLE(rc)
 #endif // wxUSE_ON_FATAL_EXCEPTION
 
-#if defined(__VISUALC__) && !defined(__WXWINCE__)
+#if wxUSE_ON_FATAL_EXCEPTION && defined(__VISUALC__) && !defined(__WXWINCE__)
     #include <eh.h>
 
     // C++ exception to structured exceptions translator: we need it in order