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:
@@ -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,
|
||||
|
Reference in New Issue
Block a user