Extend Mac colour picker cursor fix to GTK.
This commit is contained in:
parent
1c6b765ba5
commit
a3b741a126
|
@ -396,7 +396,7 @@ void DIALOG_COLOR_PICKER::drawRGBPalette()
|
|||
|
||||
// Use Y axis from bottom to top and origin to center
|
||||
bitmapDC.SetAxisOrientation( true, true );
|
||||
#if wxCHECK_VERSION( 3, 1, 7 ) && !defined( __WXMAC__)
|
||||
#if wxCHECK_VERSION( 3, 1, 7 ) && defined( __WXMSW__)
|
||||
// For some reason, SetDeviceOrigin has changed in wxWidgets 3.1.6 or 3.1.7
|
||||
bitmapDC.SetDeviceOrigin( half_size, -half_size );
|
||||
#else
|
||||
|
@ -466,7 +466,7 @@ void DIALOG_COLOR_PICKER::drawHSVPalette()
|
|||
|
||||
// Use Y axis from bottom to top and origin to center
|
||||
bitmapDC.SetAxisOrientation( true, true );
|
||||
#if wxCHECK_VERSION( 3, 1, 7 ) && !defined( __WXMAC__)
|
||||
#if wxCHECK_VERSION( 3, 1, 7 ) && defined( __WXMSW__)
|
||||
// For some reason, SetDeviceOrigin has changed in wxWidgets 3.1.6 or 3.1.7
|
||||
bitmapDC.SetDeviceOrigin( half_size, -half_size );
|
||||
#else
|
||||
|
|
Loading…
Reference in New Issue