No longer break idle (and indeed all) event handling
after using the assert dialog. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43861 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -616,11 +616,14 @@ void wxApp::OnAssertFailure(const wxChar *file,
|
|||||||
const wxChar* cond,
|
const wxChar* cond,
|
||||||
const wxChar *msg)
|
const wxChar *msg)
|
||||||
{
|
{
|
||||||
m_isInAssert = true;
|
// This doesn't seem to be required anymore. Indeed,
|
||||||
|
// it breaks any code from working after a suppressed
|
||||||
|
// assert.
|
||||||
|
// m_isInAssert = true;
|
||||||
|
|
||||||
wxAppBase::OnAssertFailure(file, line, func, cond, msg);
|
wxAppBase::OnAssertFailure(file, line, func, cond, msg);
|
||||||
|
|
||||||
m_isInAssert = false;
|
// m_isInAssert = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif // __WXDEBUG__
|
#endif // __WXDEBUG__
|
||||||
|
Reference in New Issue
Block a user