From e531b73f8910b3dcb2457bb74eb3723f2d516f5f Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Sat, 23 Feb 2002 19:16:07 +0000 Subject: [PATCH] Changes for wxOGL since wxFatalError has been deprecated. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14364 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- contrib/src/ogl/composit.cpp | 4 ++-- contrib/src/ogl/lines.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/contrib/src/ogl/composit.cpp b/contrib/src/ogl/composit.cpp index fd88350efc..05447d5a58 100644 --- a/contrib/src/ogl/composit.cpp +++ b/contrib/src/ogl/composit.cpp @@ -723,7 +723,7 @@ void wxCompositeShape::ReadConstraints(wxExpr *clause, wxExprDatabase *database) if (objExpr1 && objExpr1->GetClientData()) m_constrainingObject = (wxShape *)objExpr1->GetClientData(); else - wxFatalError("Couldn't find constraining image of composite.", "Object graphics error"); + wxLogFatalError("Object graphics error: Couldn't find constraining image of composite."); int i = 0; wxExpr *currentIdExpr = constrainedExpr->Nth(i); @@ -737,7 +737,7 @@ void wxCompositeShape::ReadConstraints(wxExpr *clause, wxExprDatabase *database) } else { - wxFatalError("Couldn't find constrained image of composite.", "Object graphics error"); + wxLogFatalError("Object graphics error: Couldn't find constrained image of composite."); } i ++; diff --git a/contrib/src/ogl/lines.cpp b/contrib/src/ogl/lines.cpp index fb159d7b83..9ed29844ae 100644 --- a/contrib/src/ogl/lines.cpp +++ b/contrib/src/ogl/lines.cpp @@ -820,7 +820,7 @@ void wxLineShape::DrawArrow(wxDC& dc, wxArrowHead *arrow, double xOffset, bool p else { - wxFatalError("Unknown arrowhead rotation case in lines.cc"); + wxLogFatalError("Unknown arrowhead rotation case in lines.cc"); } // Rotate about the centre of the object, then place -- 2.45.2