made operator[](int n) const #ifdef _WXMSW__

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1050 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Karsten Ballüder 1998-11-25 14:34:16 +00:00
parent 6bc5e910c4
commit b9fc7b7fdd

View File

@ -306,9 +306,11 @@ public:
/// operator version of GetChar
char operator[](size_t n) const
{ ASSERT_VALID_INDEX( n ); return m_pchData[n]; }
#ifdef __WXMSW__
/// operator version of GetChar
char operator[](int n) const
{ ASSERT_VALID_INDEX( n ); return m_pchData[n]; }
#endif
/// operator version of GetWritableChar
char& operator[](size_t n)
{ ASSERT_VALID_INDEX( n ); CopyBeforeWrite(); return m_pchData[n]; }