X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e531b73f8910b3dcb2457bb74eb3723f2d516f5f..93692400d0a9f89cf013e1e101701eae0a541a59:/contrib/src/ogl/composit.cpp diff --git a/contrib/src/ogl/composit.cpp b/contrib/src/ogl/composit.cpp index 05447d5a58..ded8e3be12 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 - wxLogFatalError("Object graphics error: Couldn't find constraining image of composite."); + wxLogFatalError(wxT("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 { - wxLogFatalError("Object graphics error: Couldn't find constrained image of composite."); + wxLogFatalError(wxT("Object graphics error: Couldn't find constrained image of composite.")); } i ++; @@ -746,7 +746,7 @@ void wxCompositeShape::ReadConstraints(wxExpr *clause, wxExprDatabase *database) wxOGLConstraint *newConstraint = AddConstraint(cType, m_constrainingObject, m_constrainedObjects); newConstraint->SetSpacing(cXSpacing, cYSpacing); newConstraint->m_constraintId = cId; - newConstraint->m_constraintName = (const char*) cName; + newConstraint->m_constraintName = cName; constraintNo ++; } }