# HG changeset patch # User Bram Moolenaar # Date 1265196204 -3600 # Node ID 8e2d14a3e7d2860527d39f0b662beade84db9d23 # Parent 2bd96108392ec08b6c384893939968d94bab4dbb updated for version 7.2.352 Problem: Win64: Vim doesn't work when cross-compiled with MingW libraries. Solution: Always return TRUE for the WM_NCCREATE message. (Andy Kittner) diff --git a/src/gui_w48.c b/src/gui_w48.c --- a/src/gui_w48.c +++ b/src/gui_w48.c @@ -1084,9 +1084,15 @@ HandleMouseHide(UINT uMsg, LPARAM lParam case WM_NOTIFY: Handle_WM_Notify(hwnd, (LPNMHDR)lParam); return TRUE; #endif - - default: - return MyWindowProc(hwnd, uMsg, wParam, lParam); + /* 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); } } diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -682,6 +682,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 352, +/**/ 351, /**/ 350,