X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/38a0984e4c5d21103d06a51b4aa1afd68a0843c0..a369f7c88ac33ee792046ed08eb2aa360befcea0:/include/wx/chkconf.h diff --git a/include/wx/chkconf.h b/include/wx/chkconf.h index 46ba51d014..c752d25709 100644 --- a/include/wx/chkconf.h +++ b/include/wx/chkconf.h @@ -592,6 +592,14 @@ # endif #endif /* !defined(wxUSE_SLIDER) */ +#ifndef wxUSE_SOUND +# ifdef wxABORT_ON_CONFIG_ERROR +# error "wxUSE_SOUND must be defined." +# else +# define wxUSE_SOUND 0 +# endif +#endif /* !defined(wxUSE_SOUND) */ + #ifndef wxUSE_SPINBTN # ifdef wxABORT_ON_CONFIG_ERROR # error "wxUSE_SPINBTN must be defined."