-#ifdef wxUSE_UNICODE
- rm_detail_t rd;
- int rc = wx_regexec(&self->m_RegEx, str, wxStrlen(str), &rd, m_nMatches, m_Matches, flagsRE);
-#else
- int rc = regexec(&self->m_RegEx, wxConvertWX2MB(str), m_nMatches, m_Matches, flagsRE);
-#endif
+ int rc = regexec(&self->m_RegEx, str, m_nMatches, m_Matches, flagsRE);