Fixed operator[] recursion

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22293 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
David Elliott 2003-07-25 13:56:29 +00:00
parent bdc408c4c6
commit c16471b6e8

View File

@ -771,11 +771,11 @@ public:
#ifndef wxSIZE_T_IS_UINT
// operator version of GetChar
wxChar operator[](unsigned int n) const
{ return operator[](n); }
{ return wxStringBase::operator[](n); }
// operator version of GetWriteableChar
wxChar& operator[](unsigned int n)
{ return operator[](n); }
{ return wxStringBase::operator[](n); }
#endif // size_t != unsigned int
// implicit conversion to C string