mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-15 05:34:46 +00:00
win32u: Allow NULL client_menu_name in NtUserRegisterClassExWOW.
Signed-off-by: Jacek Caban <jacek@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
e02c2f82d4
commit
f4b9ff7850
|
@ -443,7 +443,7 @@ ATOM WINAPI NtUserRegisterClassExWOW( const WNDCLASSEXW *wc, UNICODE_STRING *nam
|
|||
class->hCursor = wc->hCursor;
|
||||
class->hbrBackground = wc->hbrBackground;
|
||||
class->winproc = alloc_winproc( wc->lpfnWndProc, ansi );
|
||||
class->menu_name = *client_menu_name;
|
||||
if (client_menu_name) class->menu_name = *client_menu_name;
|
||||
if (wc->hIcon && !wc->hIconSm && user_callbacks)
|
||||
class->hIconSmIntern = user_callbacks->pCopyImage( wc->hIcon, IMAGE_ICON,
|
||||
get_system_metrics( SM_CXSMICON ),
|
||||
|
|
Loading…
Reference in a new issue