Fix a compil issue.

This commit is contained in:
jean-pierre charras 2022-01-08 08:10:18 +01:00
parent c72593ca01
commit 563e8817a2
1 changed files with 1 additions and 1 deletions

View File

@ -274,7 +274,7 @@ void BITMAP_BASE::DrawBitmap( wxDC* aDC, const VECTOR2I& aPos )
} }
aDC->DestroyClippingRegion(); aDC->DestroyClippingRegion();
aDC->SetClippingRegion( pos, size ); aDC->SetClippingRegion( wxPoint( pos.x, pos.y ), size );
if( GetGRForceBlackPenState() ) if( GetGRForceBlackPenState() )
{ {