Mike McCormack mike@codeweavers.com writes:
@@ -153,7 +153,7 @@ static LRESULT WINAPI WCUSER_FontPreview SetWindowLong(hWnd, 0, 0); break; case WM_GETFONT:
return GetWindowLong(hWnd, 0);
case WM_SETFONT: SetWindowLong(hWnd, 0, wParam); if (LOWORD(lParam))return GetWindowLongPtr(hWnd, 0);
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.