From 34742bd13fbbebfc13c9214f50d25aed85f6d8b5 Mon Sep 17 00:00:00 2001 From: Sup Yut Sum Date: Fri, 11 Jan 2013 23:04:51 +0800 Subject: [PATCH] Ignore WM_NULL in Tooltip.cpp, avoid assert in debug mode Signed-off-by: Sup Yut Sum --- src/Utils/MiscUI/Tooltip.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Utils/MiscUI/Tooltip.cpp b/src/Utils/MiscUI/Tooltip.cpp index 010773bc3..e88ed6244 100644 --- a/src/Utils/MiscUI/Tooltip.cpp +++ b/src/Utils/MiscUI/Tooltip.cpp @@ -143,6 +143,7 @@ CString CToolTips::LoadTooltip( UINT nIDText ) void CToolTips::RelayEvent(LPMSG lpMsg, CWnd * dlgWnd) { + if (lpMsg->message == WM_NULL) return; if(dlgWnd && ((lpMsg->message == WM_MOUSEMOVE) || (lpMsg->message == WM_NCMOUSEMOVE)) && (lpMsg->hwnd == dlgWnd->m_hWnd)) { // allow tooltips for disabled controls -- 2.11.4.GIT