#if WXDEBUG || wxUSE_DEBUG_CONTEXT
// for wxObject::Dump
- #include <iostream.h>
+#if wxUSE_IOSTREAMH
+# include <iostream.h>
+#else
+# include <iostream>
+# ifdef _MSC_VER
+ using namespace std;
+# endif
+#endif
#endif
#if !USE_SHARED_LIBRARY
// VC++ 6.0
#if _MSC_VER >= 1200
-void operator delete(void* pData, char* /* fileName */, int /* lineNum */)
+void operator wxObject::delete(void* pData, char* /* fileName */, int /* lineNum */)
{
::operator delete(pData);
}