http://git.etersoft.ru/projects
/
wine
/
eterwine.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a336ca
)
Revert "comctl32: Block the setting selected item to NULL for the treeview control...
author
Vitaly Perov
<vitperov@etersoft.ru>
Wed, 1 Sep 2010 13:57:18 +0000
(17:57 +0400)
committer
Vitaly Perov
<vitperov@etersoft.ru>
Wed, 1 Sep 2010 13:57:18 +0000
(17:57 +0400)
This reverts commit
3978e6d31a50690204d34af6ac907fc6ef46a354
.
dlls/comctl32/treeview.c
patch
|
blob
|
blame
|
history
diff --git
a/dlls/comctl32/treeview.c
b/dlls/comctl32/treeview.c
index df38c5640cb14adb1dbe6c18d8ec77ccd80357aa..bb7d7589e827ce8a0fb8399ca20e17b1b48e7afe 100644
(file)
--- a/
dlls/comctl32/treeview.c
+++ b/
dlls/comctl32/treeview.c
@@
-4430,10
+4430,7
@@
TREEVIEW_DoSelectItem(TREEVIEW_INFO *infoPtr, INT action, HTREEITEM newSelect,
static LRESULT
TREEVIEW_SelectItem(TREEVIEW_INFO *infoPtr, INT wParam, HTREEITEM item)
{
- /* Block the setting selected item
- * to NULL. Eterbug #2351
- */
- if ((item != NULL && !TREEVIEW_ValidItem(infoPtr, item)) || item == NULL)
+ if (item != NULL && !TREEVIEW_ValidItem(infoPtr, item))
return FALSE;
TRACE("%p (%s) %d\n", item, TREEVIEW_ItemName(item), wParam);