git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6191
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
if ((m_logicalFunction == wxCOPY) && (m_pen.GetStyle() == wxTRANSPARENT))
{
if ((m_logicalFunction == wxCOPY) && (m_pen.GetStyle() == wxTRANSPARENT))
{
rect.left = XLOG2DEV(x);
rect.top = YLOG2DEV(y);
rect.right = XLOG2DEV(x2);
rect.left = XLOG2DEV(x);
rect.top = YLOG2DEV(y);
rect.right = XLOG2DEV(x2);
- rect.bottom = YLOG2DEV(y2);
- (void)FillRect(GetHdc(), &rect, m_brush.GetResourceHandle() );
+ rect.bottom = YLOG2DEV(y2);
+ (void)FillRect(GetHdc(), &rect, (HBRUSH)m_brush.GetResourceHandle() );