Ignore:
Timestamp:
May 15, 2003, 4:26:27 PM (22 years ago)
Author:
sandervl
Message:

Wine resync

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/comctl32/pager.c

    r9370 r10098  
    837837
    838838    /* set default settings */
    839     infoPtr->hwndChild = (HWND)NULL;
     839    infoPtr->hwndChild = NULL;
    840840    infoPtr->bNoResize = dwStyle & CCS_NORESIZE;
    841841    infoPtr->clrBk = GetSysColor(COLOR_BTNFACE);
     
    898898    DefWindowProcA (hwnd, WM_NCCALCSIZE, wParam, lParam);
    899899
    900     TRACE("orig rect=(%d,%d)-(%d,%d)\n",
     900    TRACE("orig rect=(%ld,%ld)-(%ld,%ld)\n",
    901901          lpRect->left, lpRect->top, lpRect->right, lpRect->bottom);
    902902
     
    913913        scrollRange = infoPtr->nWidth - (rcmyw.right - rcmyw.left);
    914914
    915         TRACE("nPos=%d, scrollrange=%d, nHeigth=%d, myw=(%d,%d)-(%d,%d), cursor=(%ld,%ld)\n",
     915        TRACE("nPos=%d, scrollrange=%d, nHeigth=%d, myw=(%ld,%ld)-(%ld,%ld), cursor=(%ld,%ld)\n",
    916916              infoPtr->nPos, scrollRange, infoPtr->nHeight,
    917917              rcmyw.left, rcmyw.top,
     
    927927            rbrc = wnrc;
    928928            rbrc.left = rbrc.right - infoPtr->nButtonSize;
    929             TRACE("horz lt rect=(%d,%d)-(%d,%d), rb rect=(%d,%d)-(%d,%d)\n",
     929            TRACE("horz lt rect=(%ld,%ld)-(%ld,%ld), rb rect=(%ld,%ld)-(%ld,%ld)\n",
    930930                  ltrc.left, ltrc.top, ltrc.right, ltrc.bottom,
    931931                  rbrc.left, rbrc.top, rbrc.right, rbrc.bottom);
     
    962962        scrollRange = infoPtr->nHeight - (rcmyw.bottom - rcmyw.top);
    963963
    964         TRACE("nPos=%d, scrollrange=%d, nHeigth=%d, myw=(%d,%d)-(%d,%d), cursor=(%ld,%ld)\n",
     964        TRACE("nPos=%d, scrollrange=%d, nHeigth=%d, myw=(%ld,%ld)-(%ld,%ld), cursor=(%ld,%ld)\n",
    965965              infoPtr->nPos, scrollRange, infoPtr->nHeight,
    966966              rcmyw.left, rcmyw.top,
     
    987987            rbrc = wnrc;
    988988            rbrc.left = rbrc.right - infoPtr->nButtonSize;
    989             TRACE("vert lt rect=(%d,%d)-(%d,%d), rb rect=(%d,%d)-(%d,%d)\n",
     989            TRACE("vert lt rect=(%ld,%ld)-(%ld,%ld), rb rect=(%ld,%ld)-(%ld,%ld)\n",
    990990                  ltrc.left, ltrc.top, ltrc.right, ltrc.bottom,
    991991                  rbrc.left, rbrc.top, rbrc.right, rbrc.bottom);
     
    999999        if (infoPtr->BRbtnState && (lpRect->bottom - infoPtr->nButtonSize > lpRect->top))
    10001000            lpRect->bottom -= infoPtr->nButtonSize;
    1001         /* ???? */
    1002         if ((lpRect->bottom < 0) || (lpRect->bottom > infoPtr->nHeight))
    1003             lpRect->bottom = infoPtr->nHeight;
    1004     }
    1005 
    1006     TRACE("[%p] client rect set to %dx%d at (%d,%d) BtnState[%d,%d]\n",
     1001    }
     1002
     1003    TRACE("[%p] client rect set to %ldx%ld at (%ld,%ld) BtnState[%d,%d]\n",
    10071004          hwnd, lpRect->right-lpRect->left, lpRect->bottom-lpRect->top,
    10081005          lpRect->left, lpRect->top,
     
    12331230        /* If in one of the buttons the capture and draw buttons */
    12341231        if (btnrect) {
    1235             TRACE("[%p] draw btn (%d,%d)-(%d,%d), Capture %s, style %08lx\n",
     1232            TRACE("[%p] draw btn (%ld,%ld)-(%ld,%ld), Capture %s, style %08lx\n",
    12361233                  hwnd, btnrect->left, btnrect->top,
    12371234                  btnrect->right, btnrect->bottom,
     
    16041601PAGER_Unregister (void)
    16051602{
    1606     UnregisterClassA (WC_PAGESCROLLERA, (HINSTANCE)NULL);
    1607 }
     1603    UnregisterClassA (WC_PAGESCROLLERA, NULL);
     1604}
Note: See TracChangeset for help on using the changeset viewer.