Changeset 9469 for trunk/src


Ignore:
Timestamp:
Dec 5, 2002, 10:37:17 AM (23 years ago)
Author:
sandervl
Message:

Put back old tab height calculation code

File:
1 edited

Legend:

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

    r9370 r9469  
    11081108     * selected item + extra space for the selected item.
    11091109     */
     1110#ifdef __WIN32OS2__
     1111    //Code below doesn't always work
     1112    infoPtr->tabHeight = item_height + 2 * VERTICAL_ITEM_PADDING +
     1113        SELECTED_TAB_OFFSET;
     1114#else
    11101115    infoPtr->tabHeight = item_height + SELECTED_TAB_OFFSET +
    11111116                         ((lStyle & TCS_BUTTONS) ? 2 : 1) *
    11121117                          VERTICAL_ITEM_PADDING;
    1113 
     1118#endif
    11141119    TRACE("tabH=%d, tmH=%ld, iconh=%d\n",
    11151120          infoPtr->tabHeight, fontMetrics.tmHeight, icon_height);
Note: See TracChangeset for help on using the changeset viewer.