X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/dfa4a244f0dabd5319231b281c7b7f11fafc065d..2d34a3036ee7d4f1d2b6caf8a1e47f67930a430a:/src/common/dcbase.cpp?ds=sidebyside diff --git a/src/common/dcbase.cpp b/src/common/dcbase.cpp index beeb4bd6a6..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()) != NULL) + while ((node = node->GetNext()) +#if !wxUSE_STL + != NULL +#endif // !wxUSE_STL + ) { p = (wxPoint *)node->GetData(); x1 = x2;