]> git.saurik.com Git - wxWidgets.git/commitdiff
Changes for wxOGL since wxFatalError has been deprecated.
authorRobin Dunn <robin@alldunn.com>
Sat, 23 Feb 2002 19:16:07 +0000 (19:16 +0000)
committerRobin Dunn <robin@alldunn.com>
Sat, 23 Feb 2002 19:16:07 +0000 (19:16 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14364 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

contrib/src/ogl/composit.cpp
contrib/src/ogl/lines.cpp

index fd88350efc33e162893905f825e6c1c243d3122d..05447d5a589207903a8375fe6fcb5986264d82c2 100644 (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 ++;
index fb159d7b83f23562d6befbb35a5d2e53fb93cf3e..9ed29844ae2195275d7e0d2e1f7961d398b7ddf2 100644 (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