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:
@@ -1006,6 +1006,15 @@ bool wxAssertIsEqual(int x, int y)
|
||||
return x == y;
|
||||
}
|
||||
|
||||
void wxAbort()
|
||||
{
|
||||
#ifdef __WXWINCE__
|
||||
ExitThread(3);
|
||||
#else
|
||||
abort();
|
||||
#endif
|
||||
}
|
||||
|
||||
#if wxDEBUG_LEVEL
|
||||
|
||||
// break into the debugger
|
||||
|
||||
Reference in New Issue
Block a user