comctl32: Use wine_dbgstr_point in TRACES.
Signed-off-by: Hadrien Boizard <h.boizard@gmail.com> Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
4d37b87219
commit
891540436f
|
@ -816,7 +816,7 @@ DATETIME_HitTest (const DATETIME_INFO *infoPtr, POINT pt)
|
|||
{
|
||||
int i;
|
||||
|
||||
TRACE ("%d, %d\n", pt.x, pt.y);
|
||||
TRACE ("%s\n", wine_dbgstr_point(&pt));
|
||||
|
||||
if (PtInRect (&infoPtr->calbutton, pt)) return DTHT_MCPOPUP;
|
||||
if (PtInRect (&infoPtr->checkbox, pt)) return DTHT_CHECKBOX;
|
||||
|
|
|
@ -2170,7 +2170,7 @@ MONTHCAL_LButtonDown(MONTHCAL_INFO *infoPtr, LPARAM lParam)
|
|||
|
||||
hit = MONTHCAL_HitTest(infoPtr, &ht);
|
||||
|
||||
TRACE("%x at (%d, %d)\n", hit, ht.pt.x, ht.pt.y);
|
||||
TRACE("%x at %s\n", hit, wine_dbgstr_point(&ht.pt));
|
||||
|
||||
switch(hit)
|
||||
{
|
||||
|
|
|
@ -3321,7 +3321,7 @@ REBAR_NCHitTest (const REBAR_INFO *infoPtr, LPARAM lParam)
|
|||
ret, i);
|
||||
ret = (LRESULT) i;
|
||||
}
|
||||
TRACE("returning %ld, client point (%d,%d)\n", ret, clpt.x, clpt.y);
|
||||
TRACE("returning %ld, client point %s\n", ret, wine_dbgstr_point(&clpt));
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
|
|
@ -1523,7 +1523,7 @@ TOOLTIPS_RelayEvent (TOOLTIPS_INFO *infoPtr, LPMSG lpMsg)
|
|||
&pt);
|
||||
TRACE("tool (%p) %d %d %d\n", infoPtr->hwndSelf, nOldTool,
|
||||
infoPtr->nTool, infoPtr->nCurrentTool);
|
||||
TRACE("WM_MOUSEMOVE (%p %d %d)\n", infoPtr->hwndSelf, pt.x, pt.y);
|
||||
TRACE("WM_MOUSEMOVE (%p %s)\n", infoPtr->hwndSelf, wine_dbgstr_point(&pt));
|
||||
|
||||
if (infoPtr->nTool != nOldTool) {
|
||||
if(infoPtr->nTool == -1) { /* Moved out of all tools */
|
||||
|
|
|
@ -450,7 +450,7 @@ TRACKBAR_AutoPage (TRACKBAR_INFO *infoPtr, POINT clickPoint)
|
|||
LONG dir = TRACKBAR_GetAutoPageDirection(infoPtr, clickPoint);
|
||||
LONG prevPos = infoPtr->lPos;
|
||||
|
||||
TRACE("x=%d, y=%d, dir=%d\n", clickPoint.x, clickPoint.y, dir);
|
||||
TRACE("clickPoint=%s, dir=%d\n", wine_dbgstr_point(&clickPoint), dir);
|
||||
|
||||
if (dir > 0 && (infoPtr->flags & TB_AUTO_PAGE_RIGHT))
|
||||
TRACKBAR_PageDown(infoPtr);
|
||||
|
|
Loading…
Reference in New Issue