Fix an issue when printing bitmaps when not on wxWidgets 3.1.6 and 3.1.7
Commit6e35d5473
added a hack to fix an issue on wxWidgets 3.1.6. But this hack must by applied to 3.1.6 and 3.1.7, not to other versions. Modify commit048cf6df
that applied the fix to 3.1.6 only
This commit is contained in:
parent
048cf6df7a
commit
905df71977
|
@ -262,9 +262,9 @@ void BITMAP_BASE::DrawBitmap( wxDC* aDC, const VECTOR2I& aPos )
|
|||
matrix.Scale( GetScalingFactor(), GetScalingFactor() );
|
||||
aDC->SetTransformMatrix( matrix );
|
||||
|
||||
// Looks like wxWidgets 3.1.6 has a bug to fix the clipboard position
|
||||
// So for 3.1.6 only, clipAreaPos.x = clipAreaPos.y = 0
|
||||
#if !wxCHECK_VERSION( 3, 1, 6 ) || wxCHECK_VERSION( 3, 1, 7 )
|
||||
// Looks like wxWidgets 3.1.6 and 3.1.7 has a bug to fix the clipboard position
|
||||
// So for 3.1.6 and 3.1.7, clipAreaPos.x = clipAreaPos.y = 0
|
||||
#if !wxCHECK_VERSION( 3, 1, 6 ) || wxCHECK_VERSION( 3, 2, 0 )
|
||||
clipAreaPos.x = pos.x;
|
||||
clipAreaPos.y = pos.y;
|
||||
#else
|
||||
|
|
Loading…
Reference in New Issue