Changeset 229 for trunk/src/helpers/cctl_tooltip.c
- Timestamp:
- Nov 24, 2002, 9:45:05 PM (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/helpers/cctl_tooltip.c
r222 r229 224 224 MRESULT mrc = 0; 225 225 226 PFNWP 226 PFNWP pfnwpOrig = NULL; 227 227 228 228 if (LockSubclassedTools()) 229 229 { 230 PSUBCLASSEDTOOL pst = FindSubclassedTool(hwndTool);231 232 if (pst )230 PSUBCLASSEDTOOL pst; 231 232 if (pst = FindSubclassedTool(hwndTool)) 233 233 { 234 234 pfnwpOrig = pst->pfnwpOrig; // call default … … 254 254 (MPARAM)0, 255 255 (MPARAM)&qmsg); 256 break; } 256 } 257 break; 257 258 258 259 case WM_DESTROY: 259 lstRemoveItem(&G_llSubclassedTools, pst); // this frees the item 260 lstRemoveItem(&G_llSubclassedTools, pst); 261 // this frees the item 260 262 break; 261 263 } … … 1466 1468 1467 1469 case WM_PRESPARAMCHANGED: 1468 { 1469 LONG lPPIndex = (LONG)mp1; 1470 switch (lPPIndex) 1470 1471 switch ((LONG)mp1) // pp index 1471 1472 { 1472 1473 case 0: // layout palette thing dropped … … 1478 1479 UpdateTooltipPresColors(hwndTooltip); 1479 1480 } 1480 break; } 1481 1482 break; 1481 1483 1482 1484 /* … … 1900 1902 PTOOLTIPDATA pttd = (PTOOLTIPDATA)WinQueryWindowPtr(hwndTooltip, 1); 1901 1903 mrc = (MPARAM)lstCountItems(&pttd->llTools); 1902 break; } 1904 } 1905 break; 1903 1906 1904 1907 /*
Note:
See TracChangeset
for help on using the changeset viewer.