Problem: Win64: Vim doesn't work when cross-compiled with MingW libraries.
Solution: Always return TRUE for the WM_NCCREATE message. (Andy Kittner)
case WM_NOTIFY: Handle_WM_Notify(hwnd, (LPNMHDR)lParam);
return TRUE;
#endif
+ /* Workaround for the problem that MyWindowProc() returns FALSE on 64
+ * bit windows when cross-compiled using Mingw libraries. (Andy
+ * Kittner) */
+ case WM_NCCREATE:
+ MyWindowProc(hwnd, uMsg, wParam, lParam);
+ return TRUE;
- default:
- return MyWindowProc(hwnd, uMsg, wParam, lParam);
+ default:
+ return MyWindowProc(hwnd, uMsg, wParam, lParam);
}
}
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 352,
/**/
351,
/**/