Use wxAbort() instead of abort() to fix Windows CE build.

abort() is not defined under CE.

Closes #13847.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70312 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2012-01-10 17:01:17 +00:00
parent 975dc6910e
commit d58c7af849

View File

@ -1041,7 +1041,7 @@ wxDefaultAssertHandler(const wxString& file,
{ {
// If this option is set, we should abort immediately when assert happens. // If this option is set, we should abort immediately when assert happens.
if ( wxSystemOptions::GetOptionInt("exit-on-assert") ) if ( wxSystemOptions::GetOptionInt("exit-on-assert") )
abort(); wxAbort();
// FIXME MT-unsafe // FIXME MT-unsafe
static int s_bInAssert = 0; static int s_bInAssert = 0;