Check for wxUSE_DC_TRANSFORM_MATRIX dependency on wxUSE_GEOMETRY

Transform matrix functions depend on wxAffineMatrix2D which is implemented
if wxUSE_GEOMETRY==1.
This commit is contained in:
Artur Wieczorek
2017-07-31 23:03:55 +02:00
parent 8317bc2844
commit e2b937270a

View File

@@ -1722,6 +1722,14 @@
# endif
#endif /* wxUSE_GRAPHICS_CONTEXT */
#if wxUSE_DC_TRANSFORM_MATRIX && !wxUSE_GEOMETRY
# ifdef wxABORT_ON_CONFIG_ERROR
# error "wxUSE_DC_TRANSFORM_MATRIX requires wxUSE_GEOMETRY"
# else
# undef wxUSE_DC_TRANSFORM_MATRIX
# define wxUSE_DC_TRANSFORM_MATRIX 0
# endif
#endif /* wxUSE_GRAPHICS_CONTEXT */
/* generic controls dependencies */
#if !defined(__WXMSW__) || defined(__WXUNIVERSAL__)