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,
|
void wxPyApp::OnAssert(const wxChar *file,
|
||||||
int line,
|
int line,
|
||||||
const wxChar *cond,
|
const wxChar *cond,
|
||||||
@@ -218,7 +219,7 @@ void wxPyApp::OnAssert(const wxChar *file,
|
|||||||
wxApp::OnAssert(file, line, cond, msg);
|
wxApp::OnAssert(file, line, cond, msg);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
//---------------------------------------------------------------------
|
//---------------------------------------------------------------------
|
||||||
//----------------------------------------------------------------------
|
//----------------------------------------------------------------------
|
||||||
|
@@ -424,10 +424,13 @@ public:
|
|||||||
|
|
||||||
virtual bool OnInitGui();
|
virtual bool OnInitGui();
|
||||||
virtual int OnExit();
|
virtual int OnExit();
|
||||||
|
#ifdef __WXDEBUG__
|
||||||
virtual void OnAssert(const wxChar *file,
|
virtual void OnAssert(const wxChar *file,
|
||||||
int line,
|
int line,
|
||||||
const wxChar *cond,
|
const wxChar *cond,
|
||||||
const wxChar *msg);
|
const wxChar *msg);
|
||||||
|
#endif
|
||||||
|
|
||||||
// virtual int FilterEvent(wxEvent& event); // This one too????
|
// virtual int FilterEvent(wxEvent& event); // This one too????
|
||||||
|
|
||||||
PYPRIVATE;
|
PYPRIVATE;
|
||||||
|
Reference in New Issue
Block a user