X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e1720942b02fdf109d23a519bf21033483b4bdab..3bb63e5c806e7ef549673822dc6e4d40aa9dbec9:/src/common/object.cpp diff --git a/src/common/object.cpp b/src/common/object.cpp index bbe780c07e..f0ca00964c 100644 --- a/src/common/object.cpp +++ b/src/common/object.cpp @@ -22,7 +22,8 @@ #endif #ifndef WX_PRECOMP -#include "wx/hash.h" + #include "wx/hash.h" + #include "wx/object.h" #endif #include @@ -46,7 +47,7 @@ // 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 @@ -55,7 +56,7 @@ wxClassInfo wxObject::sm_classwxObject( wxT("wxObject"), 0, 0, (wxObjectConstructorFn) 0 ); // restore optimizations -#if defined _MSC_VER && _MSC_VER >= 1300 +#if defined __VISUALC__ && __VISUALC__ >= 1300 #pragma optimize("", on) #endif