]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/longlong.cpp
don't annoy the user by repeating the question which had been already answered (and...
[wxWidgets.git] / src / common / longlong.cpp
index 5fd1016b5f3b0801fe2330aeebb14c156c1f30a3..4569d208af1d8fbcced754aeb5d947676f557122 100644 (file)
@@ -70,7 +70,7 @@ ostream& operator<< (ostream& o, const wxLongLongNative& ll)
 
     for (int i = 0; i < 64; i++)
     {
-        result[63 - i] = '0' + (char) ((ll.m_ll >> i) & 1);
+        result[63 - i] = '0' + (char) ((ll.GetValue() >> i) & 1);
     }
 
     return o << result;
@@ -591,7 +591,9 @@ wxLongLongWx& wxLongLongWx::operator/=(const wxLongLongWx& ll)
 
     Divide(ll, quotient, remainder);
 
-    return *this = quotient;
+    *this = quotient;
+    
+    return *this;
 }
 
 wxLongLongWx wxLongLongWx::operator%(const wxLongLongWx& ll) const