]> git.saurik.com Git - wxWidgets.git/commitdiff
added wxABI_VERSION test around ToDouble()
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 28 Aug 2005 00:34:37 +0000 (00:34 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 28 Aug 2005 00:34:37 +0000 (00:34 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35325 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/longlong.h

index 27cf9e8d1a97e74f17074077310c6acbdbfb2aa8..e8c399960b5c0971434c43d2af7c4f27cb40756a 100644 (file)
@@ -164,8 +164,10 @@ public:
         return (long)m_ll;
     }
 
+#if wxABI_VERSION >= 20602
         // convert to double
     double ToDouble() const { return m_ll; }
+#endif // ABI >= 2.6.2
 
     // don't provide implicit conversion to wxLongLong_t or we will have an
     // ambiguity for all arithmetic operations
@@ -593,8 +595,10 @@ public:
         return (long)m_lo;
     }
 
+#if wxABI_VERSION >= 20602
         // convert to double
     double ToDouble() const;
+#endif // ABI >= 2.6.2
 
     // operations
         // addition