Workaround the lack of a wx.EVT_FIND_CLOSE on Windows when doing a

normal search.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37715 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2006-02-24 18:14:24 +00:00
parent 4fcf6b4849
commit b30b49e993

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