git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25354
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
{
HBRUSH old = (HBRUSH) SelectObject( (HDC) dc, wxDisableButtonBrush );
{
HBRUSH old = (HBRUSH) SelectObject( (HDC) dc, wxDisableButtonBrush );
- // VZ: what's this?? there is no such ROP AFAIK
-#ifdef __SALFORDC__
- DWORD dwRop = 0xFA0089L;
-#else
- DWORD dwRop = 0xFA0089UL;
-#endif
+ // ROP for "dest |= pattern" operation -- as it doesn't have a standard
+ // name, give it our own
+ static const DWORD PATPAINT = 0xFA0089UL;
bottom -= 2 * m_marginY;
}
bottom -= 2 * m_marginY;
}
- ::PatBlt( (HDC) dc, left, top, right, bottom, dwRop);
+ ::PatBlt( (HDC) dc, left, top, right, bottom, PATPAINT);
::SelectObject( (HDC) dc, old );
}
::SelectObject( (HDC) dc, old );
}