diff --git a/include/wx/string.h b/include/wx/string.h index 474f23d3b6..4c1ef6f8ae 100644 --- a/include/wx/string.h +++ b/include/wx/string.h @@ -304,11 +304,15 @@ public: { 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 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]; }