Added wxAbort() which can also be used under Windows CE.
Windows CE doesn't have abort() so provide a wrapper which can be used even there (see #13847). git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70311 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -299,6 +299,13 @@ extern void WXDLLIMPEXP_BASE wxOnAssert(const char *file,
|
||||
#define wxASSERT_LEVEL_2(cond)
|
||||
#endif
|
||||
|
||||
// This is simply a wrapper for the standard abort() which is not available
|
||||
// under all platforms.
|
||||
//
|
||||
// It isn't really debug-related but there doesn't seem to be any better place
|
||||
// for it, so declare it here and define it in appbase.cpp, together with
|
||||
// wxTrap().
|
||||
extern void WXDLLIMPEXP_BASE wxAbort();
|
||||
|
||||
/*
|
||||
wxCHECK macros always check their conditions, setting debug level to 0 only
|
||||
|
Reference in New Issue
Block a user