13 Sep
2022
13 Sep
'22
12:05 p.m.
Huw Davies (@huw) commented about programs/notepad/dialog.c:
Globals.bWrapLongLines = !Globals.bWrapLongLines; CheckMenuItem(GetMenu(Globals.hMainWnd), CMD_WRAP, MF_BYCOMMAND | (Globals.bWrapLongLines ? MF_CHECKED : MF_UNCHECKED)); + SetWindowSubclass(Globals.hEdit, (SUBCLASSPROC)EDIT_CallBackProc, 0, 0);
As mentioned last time, you should be able to remove the `(SUBCLASSPROC)` cast both here and in the other call to `SetWindowSubclass()`. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/787#note_8320