]> git.saurik.com Git - wxWidgets.git/commitdiff
make wxMarkupEntities fully const
authorPaul Cornett <paulcor@bullseye.com>
Wed, 5 Jan 2011 18:38:33 +0000 (18:38 +0000)
committerPaul Cornett <paulcor@bullseye.com>
Wed, 5 Jan 2011 18:38:33 +0000 (18:38 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66593 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/private/stattext.h
src/common/stattextcmn.cpp

index 69ddc9081a7babff2dd47fa87a6ef347e8ca3d9e..508587113be23394013bc40c7aa2b195e103dc31 100644 (file)
@@ -37,6 +37,6 @@ enum
 //    wxMarkupEntities[wxMARKUP_ELEMENT_NAME][wxMARKUP_ENTITY_GT]  == "&gt;"
 //    wxMarkupEntities[wxMARKUP_ELEMENT_VALUE][wxMARKUP_ENTITY_GT] == ">"
 //
-extern const wxChar *wxMarkupEntities[wxMARKUP_ELEMENT_MAX][wxMARKUP_ENTITY_MAX];
+extern const wxChar *const wxMarkupEntities[wxMARKUP_ELEMENT_MAX][wxMARKUP_ENTITY_MAX];
 
 #endif // _WX_PRIVATE_STATTEXT_H_
index 2da27afef72a5cf32d4bacded1af508d07c3e5e9..3c485e058c471821031ed32f686492f9a2959250 100644 (file)
@@ -26,7 +26,7 @@
 
 #include "wx/private/stattext.h"
 
-const wxChar *wxMarkupEntities[][wxMARKUP_ENTITY_MAX] =
+const wxChar *const wxMarkupEntities[][wxMARKUP_ENTITY_MAX] =
 {
     // the entities handled by SetLabel() when wxST_MARKUP is used and their referenced string