+ m_HandlersStack->Insert(new wxHashTable(m_HandlersHash));
+
+ while (tokenizer.HasMoreTokens())
+ {
+ key = tokenizer.NextToken();
+ m_HandlersHash.Delete(key);
+ m_HandlersHash.Put(key, handler);
+ }
+}
+
+void wxHtmlParser::PopTagHandler()
+{
+ wxNode *first;
+
+ if (m_HandlersStack == NULL ||
+ (first = m_HandlersStack->GetFirst()) == NULL)
+ {
+ wxLogWarning(_("Warning: attempt to remove HTML tag handler from empty stack."));
+ return;
+ }
+ m_HandlersHash = *((wxHashTable*) first->GetData());
+ m_HandlersStack->DeleteNode(first);
+}