Add wxUSE_NATIVE_DATAVIEWCTRL build option
It defaults to 1, but can be set to 0 to force using the generic version of the control even under GTK or Mac, where the native version is used by default. This can, unfortunately, be useful to work around various but multiple native control limitations.
This commit is contained in:
@@ -649,6 +649,14 @@
|
||||
# endif
|
||||
#endif /* !defined(wxUSE_DATAVIEWCTRL) */
|
||||
|
||||
#ifndef wxUSE_NATIVE_DATAVIEWCTRL
|
||||
# ifdef wxABORT_ON_CONFIG_ERROR
|
||||
# error "wxUSE_NATIVE_DATAVIEWCTRL must be defined, please read comment near the top of this file."
|
||||
# else
|
||||
# define wxUSE_NATIVE_DATAVIEWCTRL 1
|
||||
# endif
|
||||
#endif /* !defined(wxUSE_NATIVE_DATAVIEWCTRL) */
|
||||
|
||||
#ifndef wxUSE_DATEPICKCTRL
|
||||
# ifdef wxABORT_ON_CONFIG_ERROR
|
||||
# error "wxUSE_DATEPICKCTRL must be defined, please read comment near the top of this file."
|
||||
|
Reference in New Issue
Block a user