]> git.saurik.com Git - wxWidgets.git/commit
Use the width of the widest line (not the first line) for the max
authorRobin Dunn <robin@alldunn.com>
Fri, 25 Aug 2006 22:12:07 +0000 (22:12 +0000)
committerRobin Dunn <robin@alldunn.com>
Fri, 25 Aug 2006 22:12:07 +0000 (22:12 +0000)
commit543a99218d11c45bddb4aaf72650caacd4b14549
treec22e57dab70b5101813c873dddef705b4317564b
parent4d9de11075ad9523c34d7c8401b8eea9d35e57d0
Use the width of the widest line (not the first line) for the max
width of the tooltip.  Also, don't set a narrower width if the tooltip
control already has a wider one.  It will automatically adjust smaller
if needed based on the \n's in the text.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40829 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
src/msw/tooltip.cpp