浏览代码

always refresh the description window when an image is shown, if two images were the same size it would not be refreshed

git-svn-id: svn://svn.code.sf.net/p/ditto-cp/code/trunk@746 595ec19a-5cb4-439b-94a8-42fb3063c22c
sabrogden 10 年之前
父节点
当前提交
fb11f1efde
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      ToolTipEx.cpp

+ 2 - 0
ToolTipEx.cpp

@@ -573,6 +573,8 @@ void CToolTipEx::SetBitmap(CBitmap *pBitmap)
 	{
 	{
 		int nWidth = CBitmapHelper::GetCBitmapWidth(*m_pBitmap);
 		int nWidth = CBitmapHelper::GetCBitmapWidth(*m_pBitmap);
 		int nHeight = CBitmapHelper::GetCBitmapHeight(*m_pBitmap);
 		int nHeight = CBitmapHelper::GetCBitmapHeight(*m_pBitmap);
+
+		Invalidate();
 	}
 	}
 }
 }