]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/defs.h
Added event handler macro
[wxWidgets.git] / include / wx / defs.h
index 44704739c516f40a5d20fbbb0edfe1d1202f156d..6acc275f86a2e6f1a39b95237dffbb0dfdb6a4fa 100644 (file)
@@ -444,6 +444,21 @@ typedef short int WXTYPE;
     #endif
 #endif /* HAVE_WOSTREAM */
 
+// ----------------------------------------------------------------------------
+// other C++ features
+// ----------------------------------------------------------------------------
+
+#ifndef HAVE_PARTIAL_SPECIALIZATION
+    // be optimistic by default
+    #define HAVE_PARTIAL_SPECIALIZATION
+#endif
+
+#ifdef __VISUALC__
+    #if __VISUALC__ < 1310
+        #undef HAVE_PARTIAL_SPECIALIZATION
+    #endif
+#endif // __VISUALC__
+
 /*  ---------------------------------------------------------------------------- */
 /*  portable calling conventions macros */
 /*  ---------------------------------------------------------------------------- */