X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e773f79b191e77649b07f527a08405863a1cb117..3b69b47ca6e1a595bd357f849d46b10d98444fce:/wxPython/wx/py/frame.py

diff --git a/wxPython/wx/py/frame.py b/wxPython/wx/py/frame.py
index 9c05c4787d..58b760e4d2 100644
--- a/wxPython/wx/py/frame.py
+++ b/wxPython/wx/py/frame.py
@@ -503,6 +503,8 @@ class Frame(wx.Frame):
         else:
             win = wx.Window.FindFocus()
         win.DoFindNext(self.findData, self.findDlg)
+        if self.findDlg is not None:
+            self.OnFindClose(None)
 
     def OnFindClose(self, event):
         self.findDlg.Destroy()