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