Mono bitmap processing updates

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15403 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
David Webster
2002-05-07 04:56:22 +00:00
parent 5941c5de92
commit 29172908bf
6 changed files with 30 additions and 177 deletions

View File

@@ -1543,20 +1543,20 @@ void wxDC::DoDrawBitmap(
(cBmpGreen == cOldGreenFore) &&
(cBmpBlue == cOldBlueFore))
{
*pucData = cRedFore;
*pucData = cBlueFore;
pucData++;
*pucData = cGreenFore;
pucData++;
*pucData = cBlueFore;
*pucData = cRedFore;
pucData++;
}
else
{
*pucData = cRedBack;
*pucData = cBlueBack;
pucData++;
*pucData = cGreenBack;
pucData++;
*pucData = cBlueBack;
*pucData = cRedBack;
pucData++;
}
}
@@ -1879,6 +1879,7 @@ void wxDC::SetPen(
if (!m_hOldPen)
m_hOldPen = m_pen.GetPS();
}
::GpiSetColor(m_hPS, m_pen.GetColour().GetPixel());
}
}