]> git.saurik.com Git - wxWidgets.git/commitdiff
another operator needed for __alpha__
authorKarsten Ballüder <ballueder@usa.net>
Fri, 5 Nov 1999 17:04:13 +0000 (17:04 +0000)
committerKarsten Ballüder <ballueder@usa.net>
Fri, 5 Nov 1999 17:04:13 +0000 (17:04 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4373 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/string.h

index 9cdfb05f21826141628600bb4a7293fecc01e982..d7cc2549e67a642d6086256b07bc741ec87d04ed 100644 (file)
@@ -377,7 +377,12 @@ public:
     // operator version of GetChar
     wxChar  operator[](int n) const
       { ASSERT_VALID_INDEX( n ); return m_pchData[n]; }
-
+#ifdef __alpha__
+    // operator version of GetChar
+    wxChar  operator[](unsigned int n) const
+      { ASSERT_VALID_INDEX( n ); return m_pchData[n]; }
+#endif
+    
     // operator version of GetWriteableChar
     wxChar& operator[](size_t n)
       { ASSERT_VALID_INDEX( n ); CopyBeforeWrite(); return m_pchData[n]; }