// declarations
// ============================================================================
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
#pragma implementation "dcbase.h"
#endif
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;