Disable wxRearrangeCtrl without wxCheckListBox in wxMSW

Add a check ensuring that if wxCheckListBox is disabled, then so is
wxRearrangeCtrl, to avoid build errors that would happen otherwise.

Closes https://github.com/wxWidgets/wxWidgets/pull/866
This commit is contained in:
Cătălin Răceanu 2018-07-30 04:51:46 +03:00 committed by Vadim Zeitlin
parent 61c3160340
commit 4430ab8661

View File

@ -202,6 +202,10 @@
# undef wxUSE_CHECKLISTBOX
# define wxUSE_CHECKLISTBOX 0
# endif
# if !wxUSE_CHECKLISTBOX
# undef wxUSE_REARRANGECTRL
# define wxUSE_REARRANGECTRL 0
# endif
#endif
/*