# HG changeset patch # User bsmith@81767d24-ef19-dc11-ae90-00e081727c95 # Date 1322114860 0 # Node ID cc66b6d4b74e25ef2152fea8d1c5a68e3b5ae788 # Parent e79cf0d73caf6b967496bee741377fbaa9a93c74 Initializing the widgets to size 0 on Windows causes the tooltip rect to also be 0... This makes the tooltips invisible, so instead initialize the tooltip rect to 500x500. diff -r e79cf0d73caf -r cc66b6d4b74e win/dw.c --- a/win/dw.c Wed Nov 23 20:47:28 2011 +0000 +++ b/win/dw.c Thu Nov 24 06:07:40 2011 +0000 @@ -3547,7 +3547,7 @@ ti.hwnd = handle; ti.hinst = DWInstance; ti.lpszText = text; - GetClientRect(handle, &ti.rect); + ti.rect.right = ti.rect.bottom = 500; /* Associate the tooltip with the "tool" window. */ SendMessage(hwndTT, TTM_ADDTOOL, 0, (LPARAM) (LPTOOLINFO) &ti);