30 May
2006
30 May
'06
10:29 a.m.
Mike McCormack <mike(a)codeweavers.com> writes:
@@ -153,7 +153,7 @@ static LRESULT WINAPI WCUSER_FontPreview SetWindowLong(hWnd, 0, 0); break; case WM_GETFONT: - return GetWindowLong(hWnd, 0); + return GetWindowLongPtr(hWnd, 0); case WM_SETFONT: SetWindowLong(hWnd, 0, wParam); if (LOWORD(lParam))
You should fix all the Get/SetWindowLong calls that set the same value, changing only half will make things worse. You also have to reserve the proper size in the window class. -- Alexandre Julliard julliard(a)winehq.org