]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/dcbase.cpp
use image mask colour if any instead of guessing that (0, 0) is always transparent...
[wxWidgets.git] / src / common / dcbase.cpp
index 4b596ac2f97b87ff675394b1c631ebe75c463ac1..1beb8edcae184a1f75c519222fdc2d04ebeeef6f 100644 (file)
@@ -314,7 +314,7 @@ void wxDCBase::DoDrawSpline( wxList *points )
     double           x1, y1, x2, y2;
 
     wxList::compatibility_iterator node = points->GetFirst();
-    if (node == NULL)
+    if (node == wxList::compatibility_iterator())
         // empty list
         return;