+ // test for the match before (possibly) clearing m_findArgument below
+ const bool found = m_findIter->first.Matches(m_findArgument);
+
+ // advance m_findIter first as we need to do it anyhow, whether it
+ // matches or not
+ const wxMemoryFSHash::const_iterator current = m_findIter;
+
+ if ( ++m_findIter == m_Hash.end() )
+ m_findArgument.clear();
+
+ if ( found )
+ return "memory:" + current->first;