X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/57b486583d6809c9f4cf58286bb5b150a6415449..e64df9bcc331d49d05a6dc7729ee08071e4c6408:/include/wx/datetime.inl diff --git a/include/wx/datetime.inl b/include/wx/datetime.inl index 17a8c36f37..7b9360ffb0 100644 --- a/include/wx/datetime.inl +++ b/include/wx/datetime.inl @@ -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