X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e0d314713977c17937a63a2de34f835ce239aa51..2b9a7d4cc2f5f55df3d83f7cf2160cf9a509a4f2:/src/common/dcbase.cpp?ds=sidebyside 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;