////////////////////////////////////////////////////////////////////////////////
-// Name: list.cpp
+// Name: src/common/list.cpp
// Purpose: wxList implementation
// Author: Julian Smart
// Modified by: VZ at 16/11/98: WX_DECLARE_LIST() and typesafe lists added
// headers
// -----------------------------------------------------------------------------
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
- #pragma implementation "list.h"
-#endif
-
// For compilers that support precompilation, includes "wx.h".
#include "wx/wxprec.h"
{
Add(s);
+ // icc gives this warning in its own va_arg() macro, argh
+#ifdef __INTELC__
+ #pragma warning(push)
+ #pragma warning(disable: 1684)
+#endif
+
s = va_arg(ap, const wxChar *);
- // if (s == NULL)
-#ifdef __WXMSW__
- if ((int)(long) s == 0)
-#else
- if ((long) s == 0)
+
+#ifdef __INTELC__
+ #pragma warning(pop)
#endif
+
+ if ( !s )
break;
}
#else // wxUSE_STL = 1
- #include <wx/listimpl.cpp>
+ #include "wx/listimpl.cpp"
WX_DEFINE_LIST(wxObjectList);
// with wxUSE_STL wxStringList contains wxString objects, not pointers
}
#endif // !wxUSE_STL
-