mirror of
https://github.com/reactos/reactos.git
synced 2025-04-22 13:10:39 +00:00
[MSGINA]
Fix exceptions while processing messages when the "Welcome to ReactOS" dialog is created. svn path=/trunk/; revision=70192
This commit is contained in:
parent
3d0a8a174a
commit
9179de2560
1 changed files with 4 additions and 1 deletions
|
@ -210,7 +210,10 @@ EmptyWindowProc(
|
|||
{
|
||||
case WM_INITDIALOG:
|
||||
{
|
||||
pgContext = (PGINA_CONTEXT)lParam;
|
||||
pgContext->hBitmap = LoadImage(hDllInstance, MAKEINTRESOURCE(IDI_ROSLOGO), IMAGE_BITMAP, 0, 0, LR_DEFAULTCOLOR);
|
||||
SetWindowLongPtr(hwndDlg, GWL_USERDATA, (LONG_PTR)pgContext);
|
||||
return TRUE;
|
||||
}
|
||||
case WM_PAINT:
|
||||
{
|
||||
|
@ -245,7 +248,7 @@ GUIDisplaySASNotice(
|
|||
MAKEINTRESOURCEW(IDD_NOTICE_DLG),
|
||||
GetDesktopWindow(),
|
||||
EmptyWindowProc,
|
||||
(LPARAM)NULL);
|
||||
(LPARAM)pgContext);
|
||||
}
|
||||
|
||||
/* Get the text contained in a textbox. Allocates memory in pText
|
||||
|
|
Loading…
Reference in a new issue