Fixed wxApp::OnAssert signature.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15847 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -61,7 +61,7 @@ public:
|
|||||||
void DeletePendingObjects();
|
void DeletePendingObjects();
|
||||||
|
|
||||||
#ifdef __WXDEBUG__
|
#ifdef __WXDEBUG__
|
||||||
virtual void OnAssert(const wxChar *file, int line, const wxChar *msg);
|
virtual void OnAssert(const wxChar *file, int line, const wxChar *cond, const wxChar *msg);
|
||||||
|
|
||||||
bool IsInAssert() const { return m_isInAssert; }
|
bool IsInAssert() const { return m_isInAssert; }
|
||||||
#endif // __WXDEBUG__
|
#endif // __WXDEBUG__
|
||||||
|
@@ -61,7 +61,7 @@ public:
|
|||||||
void DeletePendingObjects();
|
void DeletePendingObjects();
|
||||||
|
|
||||||
#ifdef __WXDEBUG__
|
#ifdef __WXDEBUG__
|
||||||
virtual void OnAssert(const wxChar *file, int line, const wxChar *msg);
|
virtual void OnAssert(const wxChar *file, int line, const wxChar *cond, const wxChar *msg);
|
||||||
|
|
||||||
bool IsInAssert() const { return m_isInAssert; }
|
bool IsInAssert() const { return m_isInAssert; }
|
||||||
#endif // __WXDEBUG__
|
#endif // __WXDEBUG__
|
||||||
|
@@ -848,11 +848,11 @@ int wxEntry( int argc, char *argv[] )
|
|||||||
|
|
||||||
#ifdef __WXDEBUG__
|
#ifdef __WXDEBUG__
|
||||||
|
|
||||||
void wxApp::OnAssert(const wxChar *file, int line, const wxChar *msg)
|
void wxApp::OnAssert(const wxChar *file, int line, const wxChar* cond, const wxChar *msg)
|
||||||
{
|
{
|
||||||
m_isInAssert = TRUE;
|
m_isInAssert = TRUE;
|
||||||
|
|
||||||
wxAppBase::OnAssert(file, line, msg);
|
wxAppBase::OnAssert(file, line, cond, msg);
|
||||||
|
|
||||||
m_isInAssert = FALSE;
|
m_isInAssert = FALSE;
|
||||||
}
|
}
|
||||||
|
@@ -848,11 +848,11 @@ int wxEntry( int argc, char *argv[] )
|
|||||||
|
|
||||||
#ifdef __WXDEBUG__
|
#ifdef __WXDEBUG__
|
||||||
|
|
||||||
void wxApp::OnAssert(const wxChar *file, int line, const wxChar *msg)
|
void wxApp::OnAssert(const wxChar *file, int line, const wxChar* cond, const wxChar *msg)
|
||||||
{
|
{
|
||||||
m_isInAssert = TRUE;
|
m_isInAssert = TRUE;
|
||||||
|
|
||||||
wxAppBase::OnAssert(file, line, msg);
|
wxAppBase::OnAssert(file, line, cond, msg);
|
||||||
|
|
||||||
m_isInAssert = FALSE;
|
m_isInAssert = FALSE;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user