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:
parent
afbe906abd
commit
e531b73f89
@ -723,7 +723,7 @@ void wxCompositeShape::ReadConstraints(wxExpr *clause, wxExprDatabase *database)
|
|||||||
if (objExpr1 && objExpr1->GetClientData())
|
if (objExpr1 && objExpr1->GetClientData())
|
||||||
m_constrainingObject = (wxShape *)objExpr1->GetClientData();
|
m_constrainingObject = (wxShape *)objExpr1->GetClientData();
|
||||||
else
|
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;
|
int i = 0;
|
||||||
wxExpr *currentIdExpr = constrainedExpr->Nth(i);
|
wxExpr *currentIdExpr = constrainedExpr->Nth(i);
|
||||||
@ -737,7 +737,7 @@ void wxCompositeShape::ReadConstraints(wxExpr *clause, wxExprDatabase *database)
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
wxFatalError("Couldn't find constrained image of composite.", "Object graphics error");
|
wxLogFatalError("Object graphics error: Couldn't find constrained image of composite.");
|
||||||
}
|
}
|
||||||
|
|
||||||
i ++;
|
i ++;
|
||||||
|
@ -820,7 +820,7 @@ void wxLineShape::DrawArrow(wxDC& dc, wxArrowHead *arrow, double xOffset, bool p
|
|||||||
|
|
||||||
else
|
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
|
// Rotate about the centre of the object, then place
|
||||||
|
Loading…
Reference in New Issue
Block a user