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
64bbbda2
Commit
64bbbda2
authored
Mar 11, 2021
by
Huw Davies
Committed by
Alexandre Julliard
Mar 11, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
riched20: Handle WM_DESTROY in the host.
Signed-off-by:
Huw Davies
<
huw@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
7ea39932
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
editor.c
dlls/riched20/editor.c
+0
-3
txthost.c
dlls/riched20/txthost.c
+4
-0
No files found.
dlls/riched20/editor.c
View file @
64bbbda2
...
...
@@ -4277,9 +4277,6 @@ LRESULT ME_HandleMessage(ME_TextEditor *editor, UINT msg, WPARAM wParam,
}
case
WM_CREATE
:
return
ME_WmCreate
(
editor
,
lParam
,
unicode
);
case
WM_DESTROY
:
ME_DestroyEditor
(
editor
);
return
0
;
case
WM_SETCURSOR
:
{
POINT
cursor_pos
;
...
...
dlls/riched20/txthost.c
View file @
64bbbda2
...
...
@@ -780,6 +780,10 @@ static LRESULT RichEditWndProc_common( HWND hwnd, UINT msg, WPARAM wparam,
editor
=
host
->
editor
;
switch
(
msg
)
{
case
WM_DESTROY
:
ITextHost_Release
(
&
host
->
ITextHost_iface
);
return
0
;
case
WM_ERASEBKGND
:
{
HDC
hdc
=
(
HDC
)
wparam
;
...
...
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