Commit 95277391 authored by Phil Krylov's avatar Phil Krylov Committed by Alexandre Julliard

Fixed EM_SETEVENTMASK RichEdit message handler to return old event

mask.
parent f919b727
...@@ -1228,8 +1228,12 @@ LRESULT WINAPI RichEditANSIWndProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lP ...@@ -1228,8 +1228,12 @@ LRESULT WINAPI RichEditANSIWndProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lP
return 0; return 0;
} }
case EM_SETEVENTMASK: case EM_SETEVENTMASK:
{
DWORD nOldMask = editor->nEventMask;
editor->nEventMask = lParam; editor->nEventMask = lParam;
return 0; return nOldMask;
}
case EM_GETEVENTMASK: case EM_GETEVENTMASK:
return editor->nEventMask; return editor->nEventMask;
case EM_SETCHARFORMAT: case EM_SETCHARFORMAT:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment