X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/225526039bc3d31b5bc897b275fd3270d847977b..c52486391b86543e189e9991d6ccba3b9483f287:/include/wx/string.h?ds=sidebyside diff --git a/include/wx/string.h b/include/wx/string.h index 58b708df2e..4c1ef6f8ae 100644 --- a/include/wx/string.h +++ b/include/wx/string.h @@ -303,11 +303,16 @@ public: char& Last() { wxASSERT( !IsEmpty() ); CopyBeforeWrite(); return m_pchData[Len()-1]; } + // on alpha-linux this gives overload problems: + // Also on Solaris, so removing for now (JACS) +/* +#if ! defined(__ALPHA__) /// operator version of GetChar -#if 0 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]; }