Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
f8f07dfe
Commit
f8f07dfe
authored
Sep 19, 2007
by
Clinton Stimpson
Committed by
Alexandre Julliard
Sep 20, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
riched20: Adjust event mask when sending EN_CHANGE notification.
parent
8072f698
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
paint.c
dlls/riched20/paint.c
+2
-0
editor.c
dlls/riched20/tests/editor.c
+0
-2
No files found.
dlls/riched20/paint.c
View file @
f8f07dfe
...
...
@@ -120,7 +120,9 @@ void ME_UpdateRepaint(ME_TextEditor *editor)
/* send EN_CHANGE if the event mask asks for it */
if
(
editor
->
nEventMask
&
ENM_CHANGE
)
{
editor
->
nEventMask
&=
~
ENM_CHANGE
;
ME_SendOldNotify
(
editor
,
EN_CHANGE
);
editor
->
nEventMask
|=
ENM_CHANGE
;
}
ME_Repaint
(
editor
);
ME_SendSelChange
(
editor
);
...
...
dlls/riched20/tests/editor.c
View file @
f8f07dfe
...
...
@@ -2023,10 +2023,8 @@ static void test_eventMask(void)
ok
(
ret
==
TRUE
,
"failed to set text
\n
"
);
/* richedit should mask off ENM_CHANGE when it sends an EN_CHANGE
notification in response to WM_SETTEXT */
todo_wine
{
ok
(
queriedEventMask
==
(
eventMask
&
~
ENM_CHANGE
),
"wrong event mask (0x%x) during WM_COMMAND
\n
"
,
queriedEventMask
);
}
}
...
...
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