mirror of
https://github.com/reactos/reactos.git
synced 2025-04-27 17:10:22 +00:00
- [Win32k] If Proc is null, use original one and perform processing.
svn path=/trunk/; revision=44443
This commit is contained in:
parent
bbcb38b968
commit
b806aed1e1
2 changed files with 4 additions and 0 deletions
|
@ -385,6 +385,8 @@ IntSetClassWndProc(IN OUT PCLS Class,
|
|||
Class->Unicode = !Ansi;
|
||||
}
|
||||
|
||||
if (!WndProc) WndProc = Class->lpfnWndProc;
|
||||
|
||||
chWndProc = WndProc;
|
||||
|
||||
// Check if CallProc handle and retrieve previous call proc address and set.
|
||||
|
|
|
@ -663,6 +663,8 @@ IntSetWindowProc(PWND pWnd,
|
|||
if (pWnd->state & WNDS_SERVERSIDEWINDOWPROC)
|
||||
pWnd->state &= ~WNDS_SERVERSIDEWINDOWPROC;
|
||||
|
||||
if (!NewWndProc) NewWndProc = pWnd->lpfnWndProc;
|
||||
|
||||
if (Class->fnid <= FNID_GHOST && Class->fnid >= FNID_BUTTON)
|
||||
{
|
||||
if (Ansi)
|
||||
|
|
Loading…
Reference in a new issue