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:
parent
0accd1cfe8
commit
fbaf7d4513
@ -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();
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user