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:
Robin Dunn 2000-02-21 22:09:03 +00:00
parent 879345103c
commit 7299b1b267

View File

@ -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
{ {