]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/string.h
Added Win95 implementation of OutputDebugString; added to wxVariant class
[wxWidgets.git] / include / wx / string.h
index aaf3d9f5532dc50fd3329e76d543a3896a4a5d17..c3ce0840a23c6b6781b1ba973bde29940ed1cdaa 100644 (file)
@@ -303,9 +303,12 @@ public:
     char& Last()
       { wxASSERT( !IsEmpty() ); CopyBeforeWrite(); return m_pchData[Len()-1]; }
 
+    // on 64bit systems, this gives overload problems:
+#if SIZEOF_INT <= 4
     /// operator version of GetChar
     char  operator[](size_t n) const
       { ASSERT_VALID_INDEX( n ); return m_pchData[n]; }
+#endif
     /// operator version of GetChar
     char  operator[](int n) const
       { ASSERT_VALID_INDEX( n ); return m_pchData[n]; }