Browse Source

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 years ago
parent
commit
fb11f1efde
1 changed files with 2 additions and 0 deletions
  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 nHeight = CBitmapHelper::GetCBitmapHeight(*m_pBitmap);
+
+		Invalidate();
 	}
 }