Ignore:
Timestamp:
Nov 13, 1999, 5:42:43 PM (26 years ago)
Author:
cbratschi
Message:

merged with wine-991031, fixed edit bugs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/user32/listbox.cpp

    r1433 r1724  
    1 /* $Id: listbox.cpp,v 1.11 1999-10-24 22:56:05 sandervl Exp $ */
     1/* $Id: listbox.cpp,v 1.12 1999-11-13 16:42:41 cbratschi Exp $ */
    22/*
    33 * Listbox controls
     
    66 * Copyright 1999 Christoph Bratschi (ported from WINE)
    77 *
    8  * WINE version: 990923
     8 * WINE version: 991031
    99 */
    1010
     
    507507        //             rect->left, rect->top, rect->right, rect->bottom );
    508508        if (!item)
    509             ExtTextOutA( hdc, rect->left + 1, rect->top + 1,
     509            ExtTextOutA( hdc, rect->left + 1, rect->top,
    510510                           ETO_OPAQUE | ETO_CLIPPED, rect, NULL, 0, NULL );
    511511        else if (!(descr->style & LBS_USETABSTOPS))
    512             ExtTextOutA( hdc, rect->left + 1, rect->top + 1,
     512            ExtTextOutA( hdc, rect->left + 1, rect->top,
    513513                           ETO_OPAQUE | ETO_CLIPPED, rect, item->str,
    514514                           strlen(item->str), NULL );
     
    516516        {
    517517            /* Output empty string to paint background in the full width. */
    518             ExtTextOutA( hdc, rect->left + 1, rect->top + 1,
     518            ExtTextOutA( hdc, rect->left + 1, rect->top,
    519519                           ETO_OPAQUE | ETO_CLIPPED, rect, NULL, 0, NULL );
    520             TabbedTextOutA( hdc, rect->left + 1 , rect->top + 1,
     520            TabbedTextOutA( hdc, rect->left + 1 , rect->top,
    521521                              item->str, strlen(item->str),
    522522                              descr->nb_tabs, descr->tabs, 0);
Note: See TracChangeset for help on using the changeset viewer.