Ignore:
Timestamp:
Aug 14, 1999, 6:13:16 PM (26 years ago)
Author:
cbratschi
Message:

wine-990731 update

File:
1 edited

Legend:

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

    r295 r496  
    1 /* $Id: tab.c,v 1.9 1999-07-12 15:58:48 cbratschi Exp $ */
     1/* $Id: tab.c,v 1.10 1999-08-14 16:13:13 cbratschi Exp $ */
    22/*
    33 * Tab control
     
    800800         */
    801801        if (!(lStyle & TCS_OWNERDRAWFIXED))
     802        {
     803          DeleteObject(hbr);
    802804          hbr = CreateSolidBrush(GetSysColor(COLOR_3DHILIGHT));
     805        }
    803806
    804807        /*
     
    849852       * Background color.
    850853       */
     854      DeleteObject(hbr);
    851855      hbr = CreateSolidBrush(GetSysColor(COLOR_BTNFACE));
    852856
     
    963967    SetBkMode(hdc, oldBkMode);
    964968    SelectObject(hdc, holdPen);
     969    DeleteObject(hfocusPen);
     970    DeleteObject(hbr);
    965971  }
    966972}
     
    10981104  if (givenDC==0)
    10991105    ReleaseDC(hwnd, hdc);
     1106
     1107  DeleteObject(brush);
    11001108
    11011109  return 0;
     
    14201428   if (len>wineItem->cchTextMax)
    14211429     wineItem->pszText = COMCTL32_ReAlloc (wineItem->pszText, (len+1)*sizeof(WCHAR));
    1422    lstrcpynAtoW (wineItem->pszText, tabItem->pszText, len+1);
     1430   lstrcpyAtoW (wineItem->pszText, tabItem->pszText);
    14231431  }
    14241432
     
    14561464   if (len>wineItem->cchTextMax)
    14571465     wineItem->pszText = COMCTL32_ReAlloc (wineItem->pszText, (len+1)*sizeof(WCHAR));
    1458    lstrcpynW (wineItem->pszText, tabItem->pszText, len+1);
     1466   lstrcpyW (wineItem->pszText, tabItem->pszText);
    14591467  }
    14601468
     
    17841792}
    17851793
    1786 LRESULT WINAPI
     1794static LRESULT WINAPI
    17871795TAB_WindowProc (HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
    17881796{
Note: See TracChangeset for help on using the changeset viewer.