Changeset 6317 for trunk/src/user32
- Timestamp:
 - Jul 13, 2001, 4:31:39 PM (24 years ago)
 - Location:
 - trunk/src/user32
 - Files:
 - 
      
- 2 edited
 
- 
          
  win32wbase.cpp (modified) (2 diffs)
 - 
          
  windowclass.cpp (modified) (3 diffs)
 
 
Legend:
- Unmodified
 - Added
 - Removed
 
- 
      
trunk/src/user32/win32wbase.cpp
r6173 r6317 1 /* $Id: win32wbase.cpp,v 1.27 5 2001-07-05 10:45:25 sandervl Exp $ */1 /* $Id: win32wbase.cpp,v 1.276 2001-07-13 14:31:15 sandervl Exp $ */ 2 2 /* 3 3 * Win32 Window Base Class for OS/2 … … 410 410 if (fXDefault && !fCXDefault) fXDefault = FALSE; //CB: only x positioning doesn't work (calc.exe,cdrlabel.exe) 411 411 412 if (cs->x < 0) cs->x = 0;413 if (cs->y < 0) cs->y = 0;414 415 412 //Allocate window words 416 413 nrUserWindowBytes = windowClass->getExtraWndBytes();  - 
      
trunk/src/user32/windowclass.cpp
r5935 r6317 1 /* $Id: windowclass.cpp,v 1.2 1 2001-06-09 14:50:26sandervl Exp $ */1 /* $Id: windowclass.cpp,v 1.22 2001-07-13 14:31:39 sandervl Exp $ */ 2 2 /* 3 3 * Win32 Window Class Code for OS/2 … … 68 68 int iSmIconHeight = GetSystemMetrics(SM_CYSMICON); 69 69 70 wc.hIconSm = CopyImage(wc.hIcon, IMAGE_ICON, iSmIconWidth, iSmIconHeight, 71 LR_COPYFROMRESOURCE); 70 if(wc.hIcon) 71 wc.hIconSm = CopyImage(wc.hIcon, IMAGE_ICON, iSmIconWidth, iSmIconHeight, 72 LR_COPYFROMRESOURCE); 72 73 73 74 wclass = new Win32WndClass(&wc,FALSE); … … 138 139 int iSmIconHeight = GetSystemMetrics(SM_CYSMICON); 139 140 140 wc.hIconSm = CopyImage(wc.hIcon, IMAGE_ICON, iSmIconWidth, iSmIconHeight, 141 LR_COPYFROMRESOURCE); 141 if(wc.hIcon) 142 wc.hIconSm = CopyImage(wc.hIcon, IMAGE_ICON, iSmIconWidth, iSmIconHeight, 143 LR_COPYFROMRESOURCE); 142 144 143 145 dprintf(("RegisterClassW"));  
  Note:
 See   TracChangeset
 for help on using the changeset viewer.
  