// ensure that we're the only thread to modify the pending events list
wxENTER_CRIT_SECT( *wxPendingEventsLocker );
// ensure that we're the only thread to modify the pending events list
wxENTER_CRIT_SECT( *wxPendingEventsLocker );
// iterate until the list becomes empty
wxList::compatibility_iterator node = wxPendingEvents->GetFirst();
// iterate until the list becomes empty
wxList::compatibility_iterator node = wxPendingEvents->GetFirst();
// In ProcessPendingEvents(), new handlers might be add
// and we can safely leave the critical section here.
wxLEAVE_CRIT_SECT( *wxPendingEventsLocker );
// In ProcessPendingEvents(), new handlers might be add
// and we can safely leave the critical section here.
wxLEAVE_CRIT_SECT( *wxPendingEventsLocker );
handler->ProcessPendingEvents();
wxENTER_CRIT_SECT( *wxPendingEventsLocker );
node = wxPendingEvents->GetFirst();
handler->ProcessPendingEvents();
wxENTER_CRIT_SECT( *wxPendingEventsLocker );
node = wxPendingEvents->GetFirst();
- OnAssertFailure(file, line, _T(""), cond, msg);
+ OnAssertFailure(file, line, NULL, cond, msg);
// this function is called when an assert fails
void wxOnAssert(const wxChar *szFile,
int nLine,
// this function is called when an assert fails
void wxOnAssert(const wxChar *szFile,
int nLine,
- ShowAssertDialog(szFile, nLine, szFunc, szCond, szMsg);
+ ShowAssertDialog(szFile, nLine, strFunc, szCond, szMsg);
- wxTheApp->OnAssertFailure(szFile, nLine, szFunc, szCond, szMsg);
+ wxTheApp->OnAssertFailure(szFile, nLine, strFunc, szCond, szMsg);