From 62675f1e331549a873edd094c686fae771e862c5 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Fri, 21 Apr 2006 01:50:46 +0000 Subject: [PATCH] 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 --- include/wx/longlong.h | 10 ++++++++++ 1 file changed, 10 insertions(+) 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 -- 2.50.0