X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/dfa4a244f0dabd5319231b281c7b7f11fafc065d..bb41dcbe3a1ee4df0cd6a44e9cfb6a55b5d94fd6:/src/common/dcbase.cpp 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;