X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e0d314713977c17937a63a2de34f835ce239aa51..065f010fe343a5a0f20c4658b053882a213a3be3:/src/common/dcbase.cpp diff --git a/src/common/dcbase.cpp b/src/common/dcbase.cpp index 4b596ac2f9..1beb8edcae 100644 --- a/src/common/dcbase.cpp +++ b/src/common/dcbase.cpp @@ -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;