Ignore:
Timestamp:
Mar 18, 2000, 5:13:41 PM (25 years ago)
Author:
cbratschi
Message:

merged with Corel 20000317, small icon

File:
1 edited

Legend:

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

    r2804 r3153  
    1 /* $Id: button.cpp,v 1.33 2000-02-16 14:34:03 sandervl Exp $ */
     1/* $Id: button.cpp,v 1.34 2000-03-18 16:13:25 cbratschi Exp $ */
    22/* File: button.cpp -- Button type widgets
    33 *
     
    77 * Copyright (c) 1999 Christoph Bratschi
    88 *
    9  * WINE version: 20000130
     9 * Corel version: 20000317
     10 * (WINE version: 20000130)
    1011 *
    1112 * Status: complete
     
    2122#include "initterm.h"
    2223
    23 #define DBG_LOCALLOG    DBG_button
     24#define DBG_LOCALLOG    DBG_button
    2425#include "dbglocal.h"
    2526
     
    485486  HANDLE oldHbitmap = infoPtr->hImage;
    486487
    487   if ((dwStyle & BS_BITMAP) || (dwStyle & BS_ICON)) infoPtr->hImage = (HANDLE)lParam;
     488  if ((dwStyle & BS_BITMAP) || (dwStyle & BS_ICON))
     489  {
     490    infoPtr->hImage = (HANDLE)lParam;
     491    InvalidateRect(hwnd,NULL,FALSE);
     492  }
    488493
    489494  return oldHbitmap;
Note: See TracChangeset for help on using the changeset viewer.