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:
@@ -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__)
|
||||
|
Reference in New Issue
Block a user