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
ae339427
Commit
ae339427
authored
Oct 19, 2008
by
Dylan Smith
Committed by
Alexandre Julliard
Oct 20, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
richedit: Prevent EN_UPDATE notifications when window isn't visible.
parent
30ebfa6d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
paint.c
dlls/riched20/paint.c
+2
-0
editor.c
dlls/riched20/tests/editor.c
+1
-1
No files found.
dlls/riched20/paint.c
View file @
ae339427
...
...
@@ -147,6 +147,8 @@ void ME_Repaint(ME_TextEditor *editor)
ME_UpdateScrollBar
(
editor
);
FIXME
(
"ME_Repaint had to call ME_WrapMarkedParagraphs
\n
"
);
}
if
(
!
IsWindowVisible
(
editor
->
hWnd
))
return
;
if
(
!
editor
->
bEmulateVersion10
||
(
editor
->
nEventMask
&
ENM_UPDATE
))
ME_SendOldNotify
(
editor
,
EN_UPDATE
);
UpdateWindow
(
editor
->
hWnd
);
...
...
dlls/riched20/tests/editor.c
View file @
ae339427
...
...
@@ -5205,7 +5205,7 @@ static void test_eventMask(void)
watchForEventMask
=
EN_UPDATE
;
queriedEventMask
=
0
;
/* initialize to something other than we expect */
SendMessage
(
eventMaskEditHwnd
,
EM_REPLACESEL
,
0
,
(
LPARAM
)
text
);
todo_wine
ok
(
queriedEventMask
==
0
,
ok
(
queriedEventMask
==
0
,
"wrong event mask (0x%x) during WM_COMMAND
\n
"
,
queriedEventMask
);
SetWindowLong
(
eventMaskEditHwnd
,
GWL_STYLE
,
style
);
ok
(
IsWindowVisible
(
eventMaskEditHwnd
),
"Window should be visible.
\n
"
);
...
...
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