(droppings left on Life! canvas when drawing with a transparent pen)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33294
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
// I wonder if this shouldn´t be done after the LOG2DEV() conversions. RR.
if ( m_pen.GetStyle() == wxTRANSPARENT )
{
+ // Apparently not needed for WinCE (see e.g. Life! demo)
+#ifndef __WXWINCE__
x2++;
y2++;
+#endif
}
(void)Rectangle(GetHdc(), XLOG2DEV(x), YLOG2DEV(y), XLOG2DEV(x2), YLOG2DEV(y2));