HTML_xxxx constants changed to wxHTML_xxxx (with backward compatibility through WXWIN_COMPATIBILITY_2)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4036 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík
1999-10-17 20:52:29 +00:00
parent e8c504562f
commit efba2b89f1
18 changed files with 183 additions and 153 deletions

View File

@@ -69,11 +69,11 @@ void wxHtmlParser::DoneParser()
#define HTML_MAX_BUFLEN 1024
#define wxHTML_MAX_BUFLEN 1024
void wxHtmlParser::DoParsing(int begin_pos, int end_pos)
{
char temp[HTML_BUFLEN], c;
char temp[wxHTML_BUFLEN], c;
int i;
int templen;
@@ -86,7 +86,7 @@ void wxHtmlParser::DoParsing(int begin_pos, int end_pos)
// continue building word:
if (c != '<') {
temp[templen++] = c;
if (templen == HTML_BUFLEN-1) {
if (templen == wxHTML_BUFLEN-1) {
temp[templen] = 0;
AddText(temp);
templen = 0;