Compilation fir for VC6 after r73124.

VC6 doesn't have __debugbreak().

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73127 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2012-12-04 12:28:28 +00:00
parent 176da26d22
commit 739c5499fc

View File

@ -257,7 +257,7 @@ extern WXDLLIMPEXP_BASE void wxOnAssert(const char *file,
// If possible, we prefer to define it as a macro rather than as a function
// to open the debugger at the position where we trapped and not inside the
// trap function itself which is not very useful.
#ifdef __VISUALC__
#if wxCHECK_VISUALC_VERSION(7)
#define wxTrap() __debugbreak()
#else
extern WXDLLIMPEXP_BASE void wxTrap();