From: Vadim Zeitlin Date: Fri, 21 Apr 2006 01:50:46 +0000 (+0000) Subject: added operator=(unsigned int) overload (should help djgpp compilation) X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/62675f1e331549a873edd094c686fae771e862c5 added operator=(unsigned int) overload (should help djgpp compilation) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38867 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/longlong.h b/include/wx/longlong.h index 5ceca3c77b..59dcd57c74 100644 --- a/include/wx/longlong.h +++ b/include/wx/longlong.h @@ -140,6 +140,8 @@ public: { m_ll = l; return *this; } wxLongLongNative& operator=(long l) { m_ll = l; return *this; } + wxLongLongNative& operator=(unsigned int l) + { m_ll = l; return *this; } wxLongLongNative& operator=(unsigned long l) { m_ll = l; return *this; } #if wxUSE_LONGLONG_WX @@ -375,6 +377,8 @@ public: { m_ll = l; return *this; } wxULongLongNative& operator=(long l) { m_ll = l; return *this; } + wxULongLongNative& operator=(unsigned int l) + { m_ll = l; return *this; } wxULongLongNative& operator=(unsigned long l) { m_ll = l; return *this; } wxULongLongNative& operator=(const wxLongLongNative &ll) @@ -633,6 +637,12 @@ public: return *this; } + + wxLongLongWx& operator=(unsigned int l) + { + return operator=((unsigned long)l); + } + wxLongLongWx& operator=(const class wxULongLongWx &ll); // from double