]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/datetime.inl
Win16 cursor/icon functions are not needed any longer
[wxWidgets.git] / include / wx / datetime.inl
index 17a8c36f37efccbf6b4dce4df79b119d7e210259..7b9360ffb0b9e85ed3c9ec772c2da73294596f41 100644 (file)
@@ -36,7 +36,9 @@
 // ----------------------------------------------------------------------------
 
 // only define this once, when included from datetime.cpp
-#if 1 // def wxDEFINE_TIME_CONSTANTS
+// TODO: figure out why switching accessibility on causes link errors
+// if don't use this test.
+#if defined(wxDEFINE_TIME_CONSTANTS) || (defined(_MSC_VER) && wxUSE_ACCESSIBILITY)
     const long wxDateTime::TIME_T_FACTOR = 1000l;
 #endif // wxDEFINE_TIME_CONSTANTS