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
b3b1cec0
Commit
b3b1cec0
authored
Aug 12, 2022
by
Zhiyi Zhang
Committed by
Alexandre Julliard
Aug 16, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comctl32/edit: Let DefWindowProcW() handle WM_IME_CHAR.
So that WM_IME_CHAR will be converted to WM_CHAR in DefWindowProcW(). Signed-off-by:
Zhiyi Zhang
<
zzhang@codeweavers.com
>
parent
3b97566f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
edit.c
dlls/comctl32/edit.c
+0
-1
edit.c
dlls/comctl32/tests/edit.c
+2
-2
No files found.
dlls/comctl32/edit.c
View file @
b3b1cec0
...
...
@@ -4859,7 +4859,6 @@ static LRESULT CALLBACK EDIT_WindowProc(HWND hwnd, UINT msg, WPARAM wParam, LPAR
}
break
;
case
WM_IME_CHAR
:
case
WM_CHAR
:
{
WCHAR
charW
=
wParam
;
...
...
dlls/comctl32/tests/edit.c
View file @
b3b1cec0
...
...
@@ -3606,7 +3606,7 @@ static void test_ime(void)
flush_sequences
(
sequences
,
NUM_MSG_SEQUENCES
);
SendMessageA
(
hwnd
,
WM_IME_CHAR
,
'0'
,
1
);
while
(
PeekMessageA
(
&
msg
,
0
,
0
,
0
,
PM_REMOVE
))
DispatchMessageA
(
&
msg
);
ok_sequence
(
sequences
,
COMBINED_SEQ_INDEX
,
wm_ime_char_seq
,
"WM_IME_CHAR"
,
TRU
E
);
ok_sequence
(
sequences
,
COMBINED_SEQ_INDEX
,
wm_ime_char_seq
,
"WM_IME_CHAR"
,
FALS
E
);
/* Test IME messages when EIMES_GETCOMPSTRATONCE is set */
lr
=
SendMessageA
(
hwnd
,
EM_SETIMESTATUS
,
EMSIS_COMPOSITIONSTRING
,
EIMES_GETCOMPSTRATONCE
);
...
...
@@ -3627,7 +3627,7 @@ static void test_ime(void)
flush_sequences
(
sequences
,
NUM_MSG_SEQUENCES
);
SendMessageA
(
hwnd
,
WM_IME_CHAR
,
'0'
,
1
);
while
(
PeekMessageA
(
&
msg
,
0
,
0
,
0
,
PM_REMOVE
))
DispatchMessageA
(
&
msg
);
ok_sequence
(
sequences
,
COMBINED_SEQ_INDEX
,
wm_ime_char_seq
,
"WM_IME_CHAR"
,
TRU
E
);
ok_sequence
(
sequences
,
COMBINED_SEQ_INDEX
,
wm_ime_char_seq
,
"WM_IME_CHAR"
,
FALS
E
);
ImmReleaseContext
(
hwnd
,
himc
);
DestroyWindow
(
hwnd
);
...
...
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