git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27185
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
int wxDC::GetDepth() const
{
LONG lArray[CAPS_COLOR_BITCOUNT];
int wxDC::GetDepth() const
{
LONG lArray[CAPS_COLOR_BITCOUNT];
if(::DevQueryCaps( GetHDC()
,CAPS_FAMILY
if(::DevQueryCaps( GetHDC()
,CAPS_FAMILY
- CalcBoundingBox( vPoints[i].x
- ,vPoints[i].y
+ CalcBoundingBox( vPoints[0].x
+ ,vPoints[0].y
);
vPoint.x = vPoints[0].x;
vPoint.y = OS2Y(vPoints[0].y,0);
);
vPoint.x = vPoints[0].x;
vPoint.y = OS2Y(vPoints[0].y,0);
lColor = pWindowDC->m_pCanvas->GetBackgroundColour().GetPixel();
}
lColor = pWindowDC->m_pCanvas->GetBackgroundColour().GetPixel();
}
- else if (GetBrush() != wxNullBrush)
+ else if (GetBrush().Ok())
lColor = GetBrush().GetColour().GetPixel();
else
lColor = m_textBackgroundColour.GetPixel();
lColor = GetBrush().GetColour().GetPixel();
else
lColor = m_textBackgroundColour.GetPixel();