Add check for wxUSE_ADDREMOVECTRL dependency on wxUSE_BMPBUTTON.
This should, in particular, fix the currently broken wxiOS build as wxBitmapButton is not available in that port.
This commit is contained in:
parent
89a791a938
commit
8577366bae
@ -1538,6 +1538,17 @@
|
|||||||
# endif
|
# endif
|
||||||
#endif /* controls */
|
#endif /* controls */
|
||||||
|
|
||||||
|
#if wxUSE_ADDREMOVECTRL
|
||||||
|
# if !wxUSE_BMPBUTTON
|
||||||
|
# ifdef wxABORT_ON_CONFIG_ERROR
|
||||||
|
# error "wxUSE_ADDREMOVECTRL requires wxUSE_BMPBUTTON"
|
||||||
|
# else
|
||||||
|
# undef wxUSE_ADDREMOVECTRL
|
||||||
|
# define wxUSE_ADDREMOVECTRL 0
|
||||||
|
# endif
|
||||||
|
# endif
|
||||||
|
#endif /* wxUSE_ADDREMOVECTRL */
|
||||||
|
|
||||||
#if wxUSE_BMPBUTTON
|
#if wxUSE_BMPBUTTON
|
||||||
# if !wxUSE_BUTTON
|
# if !wxUSE_BUTTON
|
||||||
# ifdef wxABORT_ON_CONFIG_ERROR
|
# ifdef wxABORT_ON_CONFIG_ERROR
|
||||||
|
Loading…
Reference in New Issue
Block a user