[USER32][SCRNSAVE]

- Remove broken casts

svn path=/trunk/; revision=64662
This commit is contained in:
Thomas Faber 2014-10-11 12:34:25 +00:00
parent 8dec287d97
commit d4378d8e20
4 changed files with 6 additions and 6 deletions

View file

@ -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;
}

View file

@ -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 */

View file

@ -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 */

View file

@ -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 */