X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e7aaf2dedd0b9b8d2ab1a63ed0ba4f64abe1301b..c493691d6249650c0366fd9aaaca8572e3ff3edd:/include/wx/longlong.h diff --git a/include/wx/longlong.h b/include/wx/longlong.h index 27cf9e8d1a..e8c399960b 100644 --- a/include/wx/longlong.h +++ b/include/wx/longlong.h @@ -164,8 +164,10 @@ public: return (long)m_ll; } +#if wxABI_VERSION >= 20602 // convert to double double ToDouble() const { return m_ll; } +#endif // ABI >= 2.6.2 // don't provide implicit conversion to wxLongLong_t or we will have an // ambiguity for all arithmetic operations @@ -593,8 +595,10 @@ public: return (long)m_lo; } +#if wxABI_VERSION >= 20602 // convert to double double ToDouble() const; +#endif // ABI >= 2.6.2 // operations // addition