Changeset 9422 for trunk/src


Ignore:
Timestamp:
Nov 22, 2002, 1:57:34 PM (23 years ago)
Author:
sandervl
Message:

PF: Static control fix: do not destroy old icon when it is replaced

File:
1 edited

Legend:

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

    r9391 r9422  
    1 /* $Id: static.cpp,v 1.27 2002-11-07 10:29:16 sandervl Exp $ */
     1/* $Id: static.cpp,v 1.28 2002-11-22 12:57:34 sandervl Exp $ */
    22/*
    33 * Static control
     
    9999    if ((dwStyle & SS_TYPEMASK) != SS_ICON) return 0;
    100100
    101     if (infoPtr->hIcon) DestroyIcon(infoPtr->hIcon);
    102101    prevIcon = infoPtr->hIcon;
    103102    infoPtr->hIcon = hicon;
Note: See TracChangeset for help on using the changeset viewer.