Don't send idle events while an assertion dialog is showing.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22800 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
David Elliott
2003-08-13 15:25:34 +00:00
parent 5bb31e3561
commit b93d8cc460
2 changed files with 41 additions and 9 deletions

View File

@@ -61,6 +61,16 @@ public:
virtual bool OnInit();
virtual bool OnInitGui();
#ifdef __WXDEBUG__
virtual void OnAssert(const wxChar *file, int line, const wxChar *cond, const wxChar *msg);
bool IsInAssert() const { return m_isInAssert; }
#endif // __WXDEBUG__
private:
#ifdef __WXDEBUG__
bool m_isInAssert;
#endif // __WXDEBUG__
};
#endif // _WX_COCOA_APP_H_