Don't do the OnAssert overloading if not __WXDEBUG__
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17478 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -156,6 +156,7 @@ int wxPyApp::OnExit() {
|
||||
}
|
||||
|
||||
|
||||
#ifdef __WXDEBUG__
|
||||
void wxPyApp::OnAssert(const wxChar *file,
|
||||
int line,
|
||||
const wxChar *cond,
|
||||
@@ -218,7 +219,7 @@ void wxPyApp::OnAssert(const wxChar *file,
|
||||
wxApp::OnAssert(file, line, cond, msg);
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
//---------------------------------------------------------------------
|
||||
//----------------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user