// convert to native long long
wxLongLong_t GetValue() const { return m_ll; }
- // convert to long with range checking in the debug mode (only!)
+ // convert to long with range checking in debug mode (only!)
long ToLong() const
{
wxASSERT_MSG( (m_ll >= LONG_MIN) && (m_ll <= LONG_MAX),
return wx_truncate_cast(long, m_ll);
}
-#if wxABI_VERSION >= 20602
// convert to double
double ToDouble() const { return wx_truncate_cast(double, 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
// convert to native ulong long
wxULongLong_t GetValue() const { return m_ll; }
- // convert to ulong with range checking in the debug mode (only!)
+ // convert to ulong with range checking in debug mode (only!)
unsigned long ToULong() const
{
wxASSERT_MSG( m_ll <= LONG_MAX,
return *this;
}
- // convert to long with range checking in the debug mode (only!)
+ // convert to long with range checking in debug mode (only!)
long ToLong() const
{
wxASSERT_MSG( (m_hi == 0l) || (m_hi == -1l),
return (long)m_lo;
}
-#if wxABI_VERSION >= 20602
// convert to double
double ToDouble() const;
-#endif // ABI >= 2.6.2
// operations
// addition
// get low part
unsigned long GetLo() const { return m_lo; }
- // convert to long with range checking in the debug mode (only!)
+ // convert to long with range checking in debug mode (only!)
unsigned long ToULong() const
{
wxASSERT_MSG( m_hi == 0ul,