make wxMarkupEntities fully const

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66593 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Paul Cornett 2011-01-05 18:38:33 +00:00
parent f313deaa38
commit f9405a952c
2 changed files with 2 additions and 2 deletions

View File

@ -37,6 +37,6 @@ enum
// wxMarkupEntities[wxMARKUP_ELEMENT_NAME][wxMARKUP_ENTITY_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_

View 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