mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-10 13:57:08 +01:00
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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user