I'm using the last stable version 2.8.9.
Look at /src/msw/tooltip.cpp, line 316
int index = m_text.Find(_T('\n')); if ( index != wxNOT_FOUND )
What happens if there is no '\n'??? TTM_SETMAXTIPWIDTH message is never sent, so the tooltip width is not even calculated.
Look at this image for a graphical example. In the image, on the left I use a line without ending with a line feed. On the right I end the string with a line feed and the best width is calculated correctly, but a white space appears on bottom (due to the new line).
Thanks a bunch, I hope you correct this soon. -Martín