]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/longlong.cpp
eVC3 warning fix.
[wxWidgets.git] / src / common / longlong.cpp
index f0dad06d3816ecce41a4c0257a43f67648b98d3b..63db358fff4781960a0aa852816d1e80a2026923 100644 (file)
@@ -27,6 +27,7 @@
 
 #if wxUSE_LONGLONG
 #include "wx/longlong.h"
+#include "wx/math.h"       // for fabs()
 
 #if defined(__MWERKS__) && defined(__WXMSW__)
 #include <string.h>     // for memset()
@@ -34,8 +35,6 @@
 #include <memory.h>     // for memset()
 #endif
 
-#include <math.h>       // for fabs()
-
 // ============================================================================
 // implementation
 // ============================================================================
@@ -1163,4 +1162,14 @@ wxSTD ostream& operator<< (wxSTD ostream& o, const wxULongLong& ll)
 
 #endif // wxUSE_STD_IOSTREAM
 
+wxString& operator<< (wxString& s, const wxLongLong& ll)
+{
+    return s << ll.ToString();
+}
+
+wxString& operator<< (wxString& s, const wxULongLong& ll)
+{
+    return s << ll.ToString();
+}
+
 #endif // wxUSE_LONGLONG