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/win32class.cpp

    r2860 r3153  
    1 /* $Id: win32class.cpp,v 1.15 2000-02-22 19:15:20 sandervl Exp $ */
     1/* $Id: win32class.cpp,v 1.16 2000-03-18 16:13:37 cbratschi Exp $ */
    22/*
    33 * Win32 Window Class Managment Code for OS/2
     
    2525#include <win\winproc.h>
    2626
    27 #define DBG_LOCALLOG    DBG_win32class
     27#define DBG_LOCALLOG    DBG_win32class
    2828#include "dbglocal.h"
    2929
     
    6363                AsciiToUnicode(classNameA, classNameW);
    6464        }
    65         classAtom = 0;
    66         //SvL: If a system control has already be registered, use that atom instead
     65        classAtom = 0;
     66        //SvL: If a system control has already be registered, use that atom instead
    6767        //     of creating a new one
    68         if(wndclass->style & CS_GLOBALCLASS) {
    69                 classAtom = GlobalFindAtomA(classNameA);
    70         }
    71         if(!classAtom) classAtom = GlobalAddAtomA(classNameA);
     68        if(wndclass->style & CS_GLOBALCLASS) {
     69                classAtom = GlobalFindAtomA(classNameA);
     70        }
     71        if(!classAtom) classAtom = GlobalAddAtomA(classNameA);
    7272  }
    7373  else {
     
    7777  }
    7878  if(!(wndclass->style & CS_GLOBALCLASS)) {
    79         processId = GetCurrentProcess();
     79        processId = GetCurrentProcess();
    8080  }
    8181  menuNameA = 0;
     
    100100  }
    101101  else dprintf(("USER32:  wndclass->lpszMenuName %X\n", menuNameA));
     102  dprintf(("USER32:  wndclass->hIconSm %X\n", wndclass->hIconSm));
    102103
    103104  nrExtraClassWords     = wndclass->cbClsExtra;
     
    362363        case GCL_HICON:
    363364                return hIcon;
     365        case GCL_HICONSM:
     366                return hIconSm;
    364367        case GCL_HMODULE:
    365368                return hInstance;
     
    428431                hIcon = lNewVal;
    429432                break;
     433        case GCL_HICONSM:
     434                rc = hIconSm;
     435                hIconSm = lNewVal;
     436                break;
    430437        case GCL_HMODULE:
    431438                rc = hInstance;
Note: See TracChangeset for help on using the changeset viewer.