added wxULongLong::ToDouble() (patch 1531597)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40581 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -410,6 +410,9 @@ public:
|
||||
return wx_truncate_cast(unsigned long, m_ll);
|
||||
}
|
||||
|
||||
// convert to double
|
||||
double ToDouble() const { return wx_truncate_cast(double, m_ll); }
|
||||
|
||||
// operations
|
||||
// addition
|
||||
wxULongLongNative operator+(const wxULongLongNative& ll) const
|
||||
@@ -906,6 +909,9 @@ public:
|
||||
return (unsigned long)m_lo;
|
||||
}
|
||||
|
||||
// convert to double
|
||||
double ToDouble() const;
|
||||
|
||||
// operations
|
||||
// addition
|
||||
wxULongLongWx operator+(const wxULongLongWx& ll) const;
|
||||
|
Reference in New Issue
Block a user