#endif
#ifndef WX_PRECOMP
-#include "wx/hash.h"
+ #include "wx/hash.h"
+ #include "wx/object.h"
#endif
#include <string.h>
// we must disable optimizations for VC.NET because otherwise its too eager
// linker discards wxClassInfo objects in release build thus breaking many,
// many things
-#if defined _MSC_VER && _MSC_VER >= 1300
+#if defined __VISUALC__ && __VISUALC__ >= 1300
#pragma optimize("", off)
#endif
(wxObjectConstructorFn) 0 );
// restore optimizations
-#if defined _MSC_VER && _MSC_VER >= 1300
+#if defined __VISUALC__ && __VISUALC__ >= 1300
#pragma optimize("", on)
#endif