added wxLongLong::ToDouble()

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35323 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2005-08-28 00:03:30 +00:00
parent 0f71b9da7f
commit e7aaf2dedd
4 changed files with 45 additions and 0 deletions

View File

@@ -164,6 +164,9 @@ public:
return (long)m_ll;
}
// convert to double
double ToDouble() const { return m_ll; }
// don't provide implicit conversion to wxLongLong_t or we will have an
// ambiguity for all arithmetic operations
//operator wxLongLong_t() const { return m_ll; }
@@ -590,6 +593,9 @@ public:
return (long)m_lo;
}
// convert to double
double ToDouble() const;
// operations
// addition
wxLongLongWx operator+(const wxLongLongWx& ll) const;