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:
@@ -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()
|
||||
|
Reference in New Issue
Block a user