#endif
// For compilers that support precompilation, includes "wx.h".
-#include <wx/wxprec.h>
+#include "wx/wxprec.h"
#ifdef __BORLANDC__
#pragma hdrstop
if (objExpr1 && objExpr1->GetClientData())
m_constrainingObject = (wxShape *)objExpr1->GetClientData();
else
- wxFatalError("Couldn't find constraining image of composite.", "Object graphics error");
+ wxLogFatalError(wxT("Object graphics error: Couldn't find constraining image of composite."));
int i = 0;
wxExpr *currentIdExpr = constrainedExpr->Nth(i);
}
else
{
- wxFatalError("Couldn't find constrained image of composite.", "Object graphics error");
+ wxLogFatalError(wxT("Object graphics error: Couldn't find constrained image of composite."));
}
i ++;
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 ++;
}
}