added wOnAssert(..., wxCStrData) overload to fix compilation of code using wxASSERT(s.c_str())

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46152 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2007-05-22 01:36:24 +00:00
parent b0bf0e50ea
commit 2b232d202a
2 changed files with 22 additions and 3 deletions

View File

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