Removed references to DEBUG and WXDEBUG; cured Motif font problem; removed
some warnings in OGL; fixed bug in wxChoice git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@974 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -607,7 +607,7 @@ void wxOpSetClipping::Do(wxDC& dc, double xoffset, double yoffset)
|
||||
{
|
||||
case DRAWOP_SET_CLIPPING_RECT:
|
||||
{
|
||||
dc.SetClippingRegion(m_x1 + xoffset, m_y1 + yoffset, m_x2 + xoffset, m_y2 + yoffset);
|
||||
dc.SetClippingRegion((long)(m_x1 + xoffset), (long)(m_y1 + yoffset), (long)(m_x2 + xoffset), (long)(m_y2 + yoffset));
|
||||
break;
|
||||
}
|
||||
case DRAWOP_DESTROY_CLIPPING_RECT:
|
||||
@@ -1208,7 +1208,7 @@ bool wxOpPolyDraw::OnDrawOutline(wxDC& dc, double x, double y, double w, double
|
||||
intPoints[i].x = WXROUND (x_proportion * m_points[i].x);
|
||||
intPoints[i].y = WXROUND (y_proportion * m_points[i].y);
|
||||
}
|
||||
dc.DrawPolygon(n, intPoints, x, y);
|
||||
dc.DrawPolygon(n, intPoints, (long) x, (long) y);
|
||||
delete[] intPoints;
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user