DC output fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11997 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
493bdcc72a
commit
c109254cc6
@ -373,8 +373,8 @@ void wxDC::DoDrawLine(wxCoord x1, wxCoord y1, wxCoord x2, wxCoord y2)
|
||||
m_MGLDC->makeCurrent(); // will go away with MGL6.0
|
||||
if ( !m_penSelected )
|
||||
SelectPen();
|
||||
m_MGLDC->line(XLOG2DEV(x1) + m_penOfsX, XLOG2DEV(y1) + m_penOfsY,
|
||||
XLOG2DEV(x2) + m_penOfsX, XLOG2DEV(y2) + m_penOfsY);
|
||||
m_MGLDC->lineExt(XLOG2DEV(x1) + m_penOfsX, XLOG2DEV(y1) + m_penOfsY,
|
||||
XLOG2DEV(x2) + m_penOfsX, XLOG2DEV(y2) + m_penOfsY,FALSE);
|
||||
CalcBoundingBox(x1, y1);
|
||||
CalcBoundingBox(x2, y2);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user