added another needed wxOnAssert overload

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46146 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík 2007-05-21 18:24:42 +00:00
parent 0accd1cfe8
commit fbaf7d4513
2 changed files with 15 additions and 0 deletions

View File

@ -144,6 +144,12 @@
const wxString& szFunc,
const wxString& szCond);
extern void WXDLLIMPEXP_BASE wxOnAssert(const char *szFile,
int nLine,
const char *szFunc,
const char *szCond,
const wxString& szMsg);
/* call this function to break into the debugger unconditionally (assuming */
/* the program is running under debugger, of course) */
extern void WXDLLIMPEXP_BASE wxTrap();

View File

@ -844,6 +844,15 @@ void wxOnAssert(const wxChar *szFile,
wxDoOnAssert(szFile, nLine, szFunc, szCond, szMsg);
}
void wxOnAssert(const char *szFile,
int nLine,
const char *szFunc,
const char *szCond,
const wxString& szMsg)
{
wxDoOnAssert(szFile, nLine, szFunc, szCond, szMsg);
}
#if wxUSE_UNICODE
void wxOnAssert(const char *szFile,
int nLine,