Explorar el Código

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 hace 10 años
padre
commit
fb11f1efde
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  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();
 	}
 }