X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e0496eaaa4596dd1f6a2157ec9645f3bbe41ac06..810f173e8d7f580c612f202aab2a01003c3fb834:/include/wx/datetime.inl?ds=inline diff --git a/include/wx/datetime.inl b/include/wx/datetime.inl index 398b02828b..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 -#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