]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/wx/py/frame.py
Compile fix. Seems to work too, at quick glance.
[wxWidgets.git] / wxPython / wx / py / frame.py
index 9c05c4787d4cc3536ea57b4a0f9084f3c750d544..58b760e4d2870c89a6543d606fc20a48ab4a9b99 100644 (file)
@@ -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()