From 5968a0dcd951f04211dae241a836b58a915bcac5 Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Tue, 25 Jun 2002 18:12:07 +0000 Subject: [PATCH] Corrected OnAssert git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15953 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/x11/app.h | 2 +- src/x11/app.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/wx/x11/app.h b/include/wx/x11/app.h index f770198fc6..77927b4f49 100644 --- a/include/wx/x11/app.h +++ b/include/wx/x11/app.h @@ -75,7 +75,7 @@ public: virtual bool ProcessXEvent(WXEvent* event); #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); #endif // __WXDEBUG__ protected: diff --git a/src/x11/app.cpp b/src/x11/app.cpp index a1eb5192b5..42749948e2 100644 --- a/src/x11/app.cpp +++ b/src/x11/app.cpp @@ -1221,12 +1221,12 @@ bool wxApp::Yield(bool onlyIfNeeded) #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) { // While the GUI isn't working that well, just print out the // message. #if 1 - wxAppBase::OnAssert(file, line, msg); + wxAppBase::OnAssert(file, line, cond, msg); #else wxString msg2; msg2.Printf("At file %s:%d: %s", file, line, msg); -- 2.45.2