Initialize variable holding initial transformation matrix

When wxMacCoreGraphicsContext is created for wxGraphicsRenderer, initial transformation matrix is just an identity matrix.
This commit is contained in:
Artur Wieczorek 2017-07-09 10:13:40 +02:00
parent 2d8657d37c
commit 796ffb3671

View File

@ -1510,6 +1510,7 @@ wxMacCoreGraphicsContext::wxMacCoreGraphicsContext( wxGraphicsRenderer* renderer
wxMacCoreGraphicsContext::wxMacCoreGraphicsContext(wxGraphicsRenderer* renderer) : wxGraphicsContext(renderer)
{
Init();
m_initTransform = CGAffineTransformIdentity;
}
wxMacCoreGraphicsContext::~wxMacCoreGraphicsContext()