- // we can't convert between const_iterator to iterator otherwise...
- wxStringToStringHashMap& headers = (wxStringToStringHashMap&)m_headers;
+ wxHeaderIterator it = m_headers.begin();
+ for ( wxHeaderIterator en = m_headers.end(); it != en; ++it )
+ {
+ if ( wxStricmp(it->first, header) == 0 )
+ break;
+ }