Ignore:
Timestamp:
Aug 8, 2000, 7:05:02 PM (25 years ago)
Author:
cbratschi
Message:

Corel WINE 20000807 changes - part 1

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/comctl32/toolbar.cpp

    r3963 r3970  
    1 /* $Id: toolbar.cpp,v 1.9 2000-08-06 20:28:28 sandervl Exp $ */
     1/* $Id: toolbar.cpp,v 1.10 2000-08-08 17:05:00 cbratschi Exp $ */
    22/*
    33 * Toolbar control
     
    2929
    3030/*
    31  - Corel 20000513 level
     31 - Corel 20000807 level
    3232 - (WINE 991212 level)
    3333*/
     
    4242#include "toolbar.h"
    4343
    44 #define SEPARATOR_WIDTH    8
     44#define SEPARATOR_WIDTH    8 //CB: Corel says 5 but this breaks the layout!
    4545#define TOP_BORDER         2
    4646#define BOTTOM_BORDER      2
     
    16011601        /* create new default image list */
    16021602        //TRACE ("creating default image list!\n");
    1603         /* It seems that the image list created is 1 pixel taller than the bitmap height */
    1604 //CB: nope, it's otherwise     
    1605         infoPtr->himlDef =
    1606             ImageList_Create (infoPtr->nBitmapWidth, infoPtr->nBitmapHeight-1,
    1607                               ILC_COLOR | ILC_MASK, nButtons, 2);
     1603        /* It seems that the image list created is 1 pixel taller than the bitmap height */
     1604//CB: nope, it's otherwise
     1605        infoPtr->himlDef =
     1606            ImageList_Create (infoPtr->nBitmapWidth, infoPtr->nBitmapHeight-1,
     1607                              ILC_COLOR | ILC_MASK, nButtons, 2);
    16081608        infoPtr->himlInt = infoPtr->himlDef;
    16091609    }
Note: See TracChangeset for help on using the changeset viewer.