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
aaf67e9e
Commit
aaf67e9e
authored
Jul 23, 2008
by
Hongbo Ni
Committed by
Alexandre Julliard
Jul 29, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32: Implement WM_UNICHAR for edit control.
parent
deb49f6f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
0 deletions
+18
-0
edit.c
dlls/user32/edit.c
+18
-0
No files found.
dlls/user32/edit.c
View file @
aaf67e9e
...
...
@@ -860,6 +860,24 @@ static LRESULT WINAPI EditWndProc_common( HWND hwnd, UINT msg,
break
;
}
case
WM_UNICHAR
:
if
(
unicode
)
{
if
(
wParam
==
UNICODE_NOCHAR
)
return
TRUE
;
if
(
wParam
<=
0x000fffff
)
{
if
(
wParam
>
0xffff
)
/* convert to surrogates */
{
wParam
-=
0x10000
;
EDIT_WM_Char
(
es
,
(
wParam
>>
10
)
+
0xd800
);
EDIT_WM_Char
(
es
,
(
wParam
&
0x03ff
)
+
0xdc00
);
}
else
EDIT_WM_Char
(
es
,
wParam
);
}
return
0
;
}
break
;
case
WM_CLEAR
:
EDIT_WM_Clear
(
es
);
break
;
...
...
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