Skip to content

Commit

Permalink
Extend detection for VB6 list view.
Browse files Browse the repository at this point in the history
  • Loading branch information
vasily-v-ryabov committed May 15, 2017
1 parent d022a9a commit 5e10b5e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion pywinauto/controls/common_controls.py
Original file line number Diff line number Diff line change
Expand Up @@ -667,7 +667,8 @@ class ListViewWrapper(hwndwrapper.HwndWrapper):
"SysListView32",
r"WindowsForms\d*\.SysListView32\..*",
"TSysListView",
"ListView20WndClass"]
"ListView.*WndClass",
]
if sysinfo.UIA_support:
#controltypes is empty to make wrapper search result unique
#possible control types: IUIA().UIA_dll.UIA_ListControlTypeId
Expand Down
3 changes: 2 additions & 1 deletion pywinauto/controls/win32_controls.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,8 @@ class ButtonWrapper(hwndwrapper.HwndWrapper):
"Button",
".*Button",
r"WindowsForms\d*\.BUTTON\..*",
".*CheckBox", ]
".*CheckBox",
]
can_be_label = True

#-----------------------------------------------------------
Expand Down

0 comments on commit 5e10b5e

Please sign in to comment.