Do not reallocate base class member, which also led to a leak
This commit is contained in:
@@ -97,8 +97,6 @@ wxClientDCImpl::wxClientDCImpl( wxDC *owner, wxWindow *win )
|
|||||||
{
|
{
|
||||||
m_window = win;
|
m_window = win;
|
||||||
|
|
||||||
m_qtPainter = new QPainter();
|
|
||||||
|
|
||||||
m_pict.reset(new QPicture());
|
m_pict.reset(new QPicture());
|
||||||
m_ok = m_qtPainter->begin( m_pict.get() );
|
m_ok = m_qtPainter->begin( m_pict.get() );
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user