Fix Select on wxQT DC implementation
Need to set the underlying qt painter up with the current pen, brush and font when a new object is selected Thanks @seandepagnier git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@78378 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
fe3998c3c9
commit
aeb68ff500
@ -71,6 +71,10 @@ void wxMemoryDCImpl::DoSelect( const wxBitmap& bitmap )
|
||||
m_qtImage = new QImage( bitmap.GetHandle()->toImage() );
|
||||
// start drawing on the intermediary device:
|
||||
m_ok = m_qtPainter->begin( m_qtImage );
|
||||
|
||||
SetPen(m_pen);
|
||||
SetBrush(m_brush);
|
||||
SetFont(m_font);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user