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:
Robin Dunn
2002-10-07 22:34:03 +00:00
parent 86f964c3dd
commit ac153e89cc
2 changed files with 5 additions and 1 deletions

View File

@@ -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
//---------------------------------------------------------------------
//----------------------------------------------------------------------