handle sizeof(int) correctly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1072 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
f0a7cb422e
commit
1805077dc2
@ -304,7 +304,7 @@ public:
|
||||
{ wxASSERT( !IsEmpty() ); CopyBeforeWrite(); return m_pchData[Len()-1]; }
|
||||
|
||||
// on 64bit systems, this gives overload problems:
|
||||
#if SIZEOF_INT <= 32
|
||||
#if SIZEOF_INT <= 4
|
||||
/// operator version of GetChar
|
||||
char operator[](size_t n) const
|
||||
{ ASSERT_VALID_INDEX( n ); return m_pchData[n]; }
|
||||
|
Loading…
Reference in New Issue
Block a user