]> git.saurik.com Git - wxWidgets.git/commitdiff
added operator=(unsigned int) overload (should help djgpp compilation)
authorVadim Zeitlin <vadim@wxwidgets.org>
Fri, 21 Apr 2006 01:50:46 +0000 (01:50 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Fri, 21 Apr 2006 01:50:46 +0000 (01:50 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38867 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/longlong.h

index 5ceca3c77b012523757b8a30bd4183bd1d1ba0f7..59dcd57c7441a249166e71728e4d7461a742cd4f 100644 (file)
@@ -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