]> git.saurik.com Git - wxWidgets.git/commitdiff
Workaround the lack of a wx.EVT_FIND_CLOSE on Windows when doing a
authorRobin Dunn <robin@alldunn.com>
Fri, 24 Feb 2006 18:14:24 +0000 (18:14 +0000)
committerRobin Dunn <robin@alldunn.com>
Fri, 24 Feb 2006 18:14:24 +0000 (18:14 +0000)
normal search.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37715 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

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()