X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/38b2e0de1806b8c5e723cdd04d20ce2b911ed5c4..515a581d0dcf9f73d50d470ab3ff1715052fe0e1:/include/wx/longlong.h 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