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:
parent
6bc5e910c4
commit
b9fc7b7fdd
@ -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]; }
|
||||
|
Loading…
Reference in New Issue
Block a user