]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/string.h
added wxNode::IndexOf and wxList::IndexOf (patch by Frank McIngvale)
[wxWidgets.git] / include / wx / string.h
index 785ab5892ac7abe6768e0557da200071b861fb57..474f23d3b6e3f23d5836480284d1c3c7e73139e3 100644 (file)
@@ -303,9 +303,8 @@ public:
     char& Last()
       { wxASSERT( !IsEmpty() ); CopyBeforeWrite(); return m_pchData[Len()-1]; }
 
-    // Alternatively, we could uncomment one of them for 64bit platforms
-    // by using #if SIZEOF_INT > 32
-#ifdef __UNIX__
+    // on alpha-linux this gives overload problems:
+#if ! defined(__ALPHA__)
     /// operator version of GetChar
     char  operator[](size_t n) const
       { ASSERT_VALID_INDEX( n ); return m_pchData[n]; }