]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/datetime.inl
removed wxUSE_IMAGE_LOADING_IN_MSW and wxUSE_RESOURCE_LOADING_IN_MSW settings, they...
[wxWidgets.git] / include / wx / datetime.inl
index 398b02828b0e3841d5b3343aa71bc50cfb62c2dc..7b9360ffb0b9e85ed3c9ec772c2da73294596f41 100644 (file)
@@ -36,7 +36,9 @@
 // ----------------------------------------------------------------------------
 
 // only define this once, when included from datetime.cpp
-#ifdef 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