src[pos] != wxT('>') && !wxIsspace(src[pos]);
i++, pos++ )
{
- tagBuffer[i] = wxToupper(src[pos]);
+ tagBuffer[i] = (wxChar)wxToupper(src[pos]);
}
tagBuffer[i] = _T('\0');
++pos;
if (src[pos] == '<')
++pos;
-
+
// see if it matches
int match_pos = 0;
while (pos < lng && match_pos < tag_len && src[pos] != '>' && src[pos] != '<') {
// Unicode build
if ((wxChar)wxToupper(src[pos]) == tagBuffer[match_pos]) {
++match_pos;
- }
+ }
else if (src[pos] == wxT(' ') || src[pos] == wxT('\n') ||
src[pos] == wxT('\r') || src[pos] == wxT('\t')) {
// need to skip over these
{
wxString str = GetParam(par);
- if (str.IsEmpty()) return false;
+ if (str.empty()) return false;
if (str.GetChar(0) == wxT('#'))
{
unsigned long tmp;
return cur->m_Next;
}
+#if WXWIN_COMPATIBILITY_2_2
+
+bool wxHtmlTag::IsEnding() const
+{
+ return false;
+}
+
+#endif // WXWIN_COMPATIBILITY_2_2
+
#endif