X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/95710acb005a897ee75844bb202f03a8fff15db7..571d991bb3232f0dcd3319dbdc9d35e5c80f4c71:/include/wx/osx/cocoa/chkconf.h diff --git a/include/wx/osx/cocoa/chkconf.h b/include/wx/osx/cocoa/chkconf.h index 7ef3ca689e..691acd25ae 100644 --- a/include/wx/osx/cocoa/chkconf.h +++ b/include/wx/osx/cocoa/chkconf.h @@ -20,8 +20,8 @@ #define wxOSX_USE_NATIVE_TOOLBAR 1 #endif -/* - * text rendering system +/* + * text rendering system */ #if MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_5 @@ -41,14 +41,21 @@ #endif /* - * turning off capabilities that don't work under cocoa yet + * Audio System */ -#if wxUSE_DATAVIEWCTRL -#undef wxUSE_DATAVIEWCTRL -#define wxUSE_DATAVIEWCTRL 0 +#if MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_5 + #define wxOSX_USE_QUICKTIME 0 + #define wxOSX_USE_AUDIOTOOLBOX 1 +#else // platform < 10.5 + #define wxOSX_USE_QUICKTIME 1 + #define wxOSX_USE_AUDIOTOOLBOX 0 #endif +/* + * turning off capabilities that don't work under cocoa yet + */ + #endif /* _WX_MAC_CHKCONF_H_ */