X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/aad65f130d9cb77d0e9f2b7b580c54712386f77a..307b0b97ee4c88f7fab8b48e463da54b72b41367:/include/wx/debug.h diff --git a/include/wx/debug.h b/include/wx/debug.h index ee32d3a0eb..9c92739aaa 100644 --- a/include/wx/debug.h +++ b/include/wx/debug.h @@ -90,15 +90,11 @@ // note using "int" and not "bool" for cond to avoid VC++ warnings about // implicit conversions when doing "wxAssert( pointer )" and also use of // "!!cond" below to ensure that everything is converted to int - inline void WXDLLEXPORT wxAssert(int cond, + extern void WXDLLEXPORT wxAssert(int cond, const wxChar *szFile, int nLine, const wxChar *szCond, - const wxChar *szMsg = NULL) - { - if ( !cond ) - wxOnAssert(szFile, nLine, szCond, szMsg); - } + const wxChar *szMsg = NULL) ; // generic assert macro #define wxASSERT(cond) wxAssert(!!(cond), __TFILE__, __LINE__, _T(#cond))