Fix for when the icon is smaller than the text. From Werner.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@74794 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2013-09-11 17:02:31 +00:00
parent b85e6b0252
commit 0a8688f9b5

View File

@@ -380,7 +380,7 @@ class ToolTipWindowBase(object):
self._storeHyperLinkInfo(xText, yText, textWidth, textHeight, hl)
toAdd = 0
if bmpHeight > textHeight:
if bmpHeight > messageHeight:
yPos += 2*self._spacing + bmpHeight
toAdd = self._spacing
else: