+void wxHtmlParser::PushTagHandler(wxHtmlTagHandler *handler, wxString tags)
+{
+ wxStringTokenizer tokenizer(tags, ", ");
+ wxString key;
+
+ if (m_HandlersStack == NULL)
+ {
+ m_HandlersStack = new wxList;
+ m_HandlersStack->DeleteContents(TRUE);
+ }
+
+ m_HandlersStack->Insert(new wxHashTable(m_HandlersHash));
+
+ while (tokenizer.HasMoreTokens())
+ {
+ key = tokenizer.NextToken();
+ m_HandlersHash.Delete(key);
+ m_HandlersHash.Put(key, handler);
+ }
+}