code: def OnReplaceFind(self, event):
          
  
          event.text = event.GetFindString()
          event.flags = self._wxflag2flag(event.GetFlags())
  
          self.OnFind(event)
docs: Called when a find operation is started from F&R dialog