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
This commit is contained in:
Robin Dunn 2002-02-23 19:16:07 +00:00
parent afbe906abd
commit e531b73f89
2 changed files with 3 additions and 3 deletions

View File

@ -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 ++;

View File

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