added typcast needed for VC++ 6
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6191 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
879345103c
commit
7299b1b267
@ -583,7 +583,7 @@ void wxDC::DoDrawRectangle(wxCoord x, wxCoord y, wxCoord width, wxCoord height)
|
|||||||
rect.top = YLOG2DEV(y);
|
rect.top = YLOG2DEV(y);
|
||||||
rect.right = XLOG2DEV(x2);
|
rect.right = XLOG2DEV(x2);
|
||||||
rect.bottom = YLOG2DEV(y2);
|
rect.bottom = YLOG2DEV(y2);
|
||||||
(void)FillRect(GetHdc(), &rect, m_brush.GetResourceHandle() );
|
(void)FillRect(GetHdc(), &rect, (HBRUSH)m_brush.GetResourceHandle() );
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user