]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/dcbase.cpp
warnings (and some errors) fixes for wxUniv DLL build
[wxWidgets.git] / src / common / dcbase.cpp
index beeb4bd6a6e7611d27dcf0257b0dc1c72933eb4f..77b09b154b28cfb0e66945eb55ab6017eda5195b 100644 (file)
@@ -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;