From 19d02add9149b2f2c1b0923adb0aaeebd0eeed11 Mon Sep 17 00:00:00 2001 From: Sup Yut Sum Date: Thu, 7 Jul 2016 20:23:50 +0800 Subject: [PATCH] Fix Reflog list showed wrong tooltip in date column Signed-off-by: Sup Yut Sum Signed-off-by: Sven Strickroth --- src/TortoiseProc/refloglist.cpp | 5 +++++ src/TortoiseProc/refloglist.h | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/src/TortoiseProc/refloglist.cpp b/src/TortoiseProc/refloglist.cpp index fe06163db..5b0985a84 100644 --- a/src/TortoiseProc/refloglist.cpp +++ b/src/TortoiseProc/refloglist.cpp @@ -129,3 +129,8 @@ void CRefLogList::OnNMCustomdrawLoglist(NMHDR * /*pNMHDR*/, LRESULT *pResult) // Take the default processing unless we set this to something else below. *pResult = CDRF_DODEFAULT; } + +BOOL CRefLogList::OnToolTipText(UINT /*id*/, NMHDR* pNMHDR, LRESULT* pResult) +{ + return FALSE; +} diff --git a/src/TortoiseProc/refloglist.h b/src/TortoiseProc/refloglist.h index ecc14f7fa..d0198ab38 100644 --- a/src/TortoiseProc/refloglist.h +++ b/src/TortoiseProc/refloglist.h @@ -1,6 +1,6 @@ // TortoiseGit - a Windows shell extension for easy version control -// Copyright (C) 2009-2011, 2015 - TortoiseGit +// Copyright (C) 2009-2011, 2015-2016 - TortoiseGit // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License @@ -41,4 +41,5 @@ public: protected: virtual void OnLvnGetdispinfoLoglist(NMHDR *pNMHDR, LRESULT *pResult); virtual void OnNMCustomdrawLoglist(NMHDR *pNMHDR, LRESULT *pResult); + virtual BOOL OnToolTipText(UINT id, NMHDR* pNMHDR, LRESULT* pResult); }; -- 2.11.4.GIT