Fixed a bug where best_match was returning wrapped windows - not handles

This commit is contained in:
markm 2006-03-06 20:04:19 +00:00
parent d42fda4396
commit 0db6410945

@ -170,6 +170,7 @@ def find_windows(class_name = None,
windows = [WrapHandle(win) for win in windows]
windows = findbestmatch.find_best_control_matches(
best_match, windows)
windows = [win.handle for win in windows]
return windows