Don't initialize variable twice
This commit is contained in:
@@ -322,8 +322,7 @@ void wxGCDCImpl::DoSetDeviceClippingRegion( const wxRegion ®ion )
|
||||
// to the initial state in which logical and device coordinate
|
||||
// systems are equivalent.
|
||||
// So, at first save current transformation parameters.
|
||||
wxGraphicsMatrix currTransform = m_graphicContext->CreateMatrix();
|
||||
currTransform = m_graphicContext->GetTransform();
|
||||
wxGraphicsMatrix currTransform = m_graphicContext->GetTransform();
|
||||
// Reset coordinate system with identity transformation matrix
|
||||
// to make logical coordinates the same as device coordinates.
|
||||
wxGraphicsMatrix m = m_graphicContext->CreateMatrix();
|
||||
|
Reference in New Issue
Block a user