mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 09:25:10 +00:00
[USER32][SCRNSAVE]
- Remove broken casts svn path=/trunk/; revision=64662
This commit is contained in:
parent
8dec287d97
commit
d4378d8e20
4 changed files with 6 additions and 6 deletions
|
@ -144,7 +144,7 @@ static BOOL RegisterScreenSaverClass(void)
|
|||
cls.hbrBackground = (HBRUSH)GetStockObject(BLACK_BRUSH);
|
||||
cls.hInstance = hMainInstance;
|
||||
cls.style = CS_VREDRAW | CS_HREDRAW | CS_SAVEBITS | CS_PARENTDC;
|
||||
cls.lpfnWndProc = (WNDPROC)SysScreenSaverProc;
|
||||
cls.lpfnWndProc = SysScreenSaverProc;
|
||||
|
||||
return RegisterClass(&cls) != 0;
|
||||
}
|
||||
|
|
|
@ -22,7 +22,7 @@ const struct builtin_class_descr DESKTOP_builtin_class =
|
|||
WC_DESKTOP, /* name */
|
||||
CS_DBLCLKS, /* style */
|
||||
NULL, /* procA (winproc is Unicode only) */
|
||||
(WNDPROC) DesktopWndProc, /* procW */
|
||||
DesktopWndProc, /* procW */
|
||||
0, /* extra */
|
||||
IDC_ARROW, /* cursor */
|
||||
(HBRUSH)(COLOR_BACKGROUND+1) /* brush */
|
||||
|
|
|
@ -115,8 +115,8 @@ const struct builtin_class_descr DIALOG_builtin_class =
|
|||
{
|
||||
WC_DIALOG, /* name */
|
||||
CS_SAVEBITS | CS_DBLCLKS, /* style */
|
||||
(WNDPROC) DefDlgProcA, /* procA */
|
||||
(WNDPROC) DefDlgProcW, /* procW */
|
||||
DefDlgProcA, /* procA */
|
||||
DefDlgProcW, /* procW */
|
||||
DLGWINDOWEXTRA, /* extra */
|
||||
(LPCWSTR) IDC_ARROW, /* cursor */
|
||||
0 /* brush */
|
||||
|
|
|
@ -107,8 +107,8 @@ const struct builtin_class_descr POPUPMENU_builtin_class =
|
|||
{
|
||||
WC_MENU, /* name */
|
||||
CS_SAVEBITS | CS_DBLCLKS, /* style */
|
||||
(WNDPROC) NULL, /* FIXME - procA */
|
||||
(WNDPROC) PopupMenuWndProcW, /* FIXME - procW */
|
||||
NULL, /* FIXME - procA */
|
||||
PopupMenuWndProcW, /* FIXME - procW */
|
||||
sizeof(MENUINFO *), /* extra */
|
||||
(LPCWSTR) IDC_ARROW, /* cursor */
|
||||
(HBRUSH)(COLOR_MENU + 1) /* brush */
|
||||
|
|
Loading…
Reference in a new issue