From 7fb7d34caf5f45289212987123baac4ce5a0d38c Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Tue, 25 Aug 2015 12:21:32 +0200 Subject: patch 7.4.829 Problem: Crash when clicking in beval balloon. (Travis Lebsock) Solution: Use PostMessage() instead of DestroyWindow(). (Raymond Ko, PR 298) --- src/gui_w32.c | 3 ++- src/version.c | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/gui_w32.c b/src/gui_w32.c index bf8f12299c..463351eea7 100644 --- a/src/gui_w32.c +++ b/src/gui_w32.c @@ -4836,7 +4836,8 @@ make_tooltip(beval, text, pt) delete_tooltip(beval) BalloonEval *beval; { - DestroyWindow(beval->balloon); + PostMessage(beval->balloon, WM_DESTROY, 0, 0); + PostMessage(beval->balloon, WM_NCDESTROY, 0, 0); } /*ARGSUSED*/ diff --git a/src/version.c b/src/version.c index dd3449054c..5bd31fad45 100644 --- a/src/version.c +++ b/src/version.c @@ -741,6 +741,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 829, /**/ 828, /**/ -- cgit v1.2.3