mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-01 04:13:35 +00:00
- [Win32k] If Proc is null, use original one and perform processing.
svn path=/trunk/; revision=44443
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user