Changeset 5825 for trunk/src/gdi32/palette.cpp
- Timestamp:
- May 29, 2001, 11:45:21 AM (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/gdi32/palette.cpp
r5799 r5825 1 /* $Id: palette.cpp,v 1. 8 2001-05-25 10:05:29sandervl Exp $ */1 /* $Id: palette.cpp,v 1.9 2001-05-29 09:45:21 sandervl Exp $ */ 2 2 3 3 /* … … 85 85 dprintf(("GDI32: SelectPalette (0x%08X, 0x%08X, 0x%08X)", hdc, hPalette, bForceBackground)); 86 86 hPal = O32_SelectPalette(hdc, hPalette, bForceBackground); 87 if(DIBSection::getSection() != NULL) 87 88 //hack for beyond compare buttons (+ other apps) 89 //seems to select old palette into dc before unselecting dib section 90 if(bForceBackground != -1 && DIBSection::getSection() != NULL) 88 91 { 89 92 DIBSection *dsect = DIBSection::findHDC(hdc);
Note:
See TracChangeset
for help on using the changeset viewer.