Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
36297f2c
Commit
36297f2c
authored
May 17, 2015
by
Alex Henrie
Committed by
Alexandre Julliard
May 18, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comctl32: Do not send WM_NOTIFY if selecting an already-selected item.
parent
a0ebe244
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
treeview.c
dlls/comctl32/tests/treeview.c
+1
-1
treeview.c
dlls/comctl32/treeview.c
+3
-0
No files found.
dlls/comctl32/tests/treeview.c
View file @
36297f2c
...
@@ -1773,7 +1773,7 @@ static void test_TVS_SINGLEEXPAND(void)
...
@@ -1773,7 +1773,7 @@ static void test_TVS_SINGLEEXPAND(void)
{
&
golf
,
parent_singleexpand_seq5
,
TRUE
},
{
&
golf
,
parent_singleexpand_seq5
,
TRUE
},
{
&
hotel
,
parent_singleexpand_seq6
,
FALSE
},
{
&
hotel
,
parent_singleexpand_seq6
,
FALSE
},
{
&
india
,
parent_singleexpand_seq7
,
FALSE
},
{
&
india
,
parent_singleexpand_seq7
,
FALSE
},
{
&
india
,
empty_seq
,
TRU
E
}
{
&
india
,
empty_seq
,
FALS
E
}
};
};
hTree
=
create_treeview_control
(
0
);
hTree
=
create_treeview_control
(
0
);
...
...
dlls/comctl32/treeview.c
View file @
36297f2c
...
@@ -4475,6 +4475,9 @@ TREEVIEW_SelectItem(TREEVIEW_INFO *infoPtr, INT wParam, HTREEITEM item)
...
@@ -4475,6 +4475,9 @@ TREEVIEW_SelectItem(TREEVIEW_INFO *infoPtr, INT wParam, HTREEITEM item)
if
(
item
&&
!
TREEVIEW_ValidItem
(
infoPtr
,
item
))
if
(
item
&&
!
TREEVIEW_ValidItem
(
infoPtr
,
item
))
return
FALSE
;
return
FALSE
;
if
(
item
==
infoPtr
->
selectedItem
)
return
TRUE
;
TRACE
(
"%p (%s) %d
\n
"
,
item
,
TREEVIEW_ItemName
(
item
),
wParam
);
TRACE
(
"%p (%s) %d
\n
"
,
item
,
TREEVIEW_ItemName
(
item
),
wParam
);
if
(
!
TREEVIEW_DoSelectItem
(
infoPtr
,
wParam
,
item
,
TVC_UNKNOWN
))
if
(
!
TREEVIEW_DoSelectItem
(
infoPtr
,
wParam
,
item
,
TVC_UNKNOWN
))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment