git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21322
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
// 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