X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/257ed895d539d3dc6a11058c337ba1a58c5b7036..e531b73f8910b3dcb2457bb74eb3723f2d516f5f:/contrib/src/ogl/composit.cpp diff --git a/contrib/src/ogl/composit.cpp b/contrib/src/ogl/composit.cpp index 6dbc6190a7..05447d5a58 100644 --- a/contrib/src/ogl/composit.cpp +++ b/contrib/src/ogl/composit.cpp @@ -14,7 +14,7 @@ #endif // For compilers that support precompilation, includes "wx.h". -#include +#include "wx/wxprec.h" #ifdef __BORLANDC__ #pragma hdrstop @@ -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 ++;