- [Win32k] If Proc is null, use original one and perform processing.

svn path=/trunk/; revision=44443
This commit is contained in:
James Tabor 2009-12-06 19:22:29 +00:00
parent bbcb38b968
commit b806aed1e1
2 changed files with 4 additions and 0 deletions

View file

@ -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.

View file

@ -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)