X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1b80d34a52121a70a5a4bf9ba6d0cd6a8372b38c..34dceb471562e2bf2cc85c4792cde3faf555af40:/src/common/dcbase.cpp diff --git a/src/common/dcbase.cpp b/src/common/dcbase.cpp index 8534732e7b..77b09b154b 100644 --- a/src/common/dcbase.cpp +++ b/src/common/dcbase.cpp @@ -290,7 +290,11 @@ void wxDCBase::DoDrawSpline( wxList *points ) wx_spline_add_point(x1, y1); - while ((node = node->GetNext())) + while ((node = node->GetNext()) +#if !wxUSE_STL + != NULL +#endif // !wxUSE_STL + ) { p = (wxPoint *)node->GetData(); x1 = x2;