diff --git a/include/wx/mac/carbon/chkconf.h b/include/wx/mac/carbon/chkconf.h index 25ab6194ee..150af08270 100644 --- a/include/wx/mac/carbon/chkconf.h +++ b/include/wx/mac/carbon/chkconf.h @@ -66,6 +66,29 @@ #define wxMAC_USE_COCOA 0 #endif +/* + * setting up 64 bit + */ + +#ifdef __LP64__ + +#undef wxMAC_USE_COCOA +#define wxMAC_USE_COCOA 1 + +#undef wxUSE_DRAG_AND_DROP +#define wxUSE_DRAG_AND_DROP 0 + +#undef wxUSE_TASKBARICON +#define wxUSE_TASKBARICON 0 + +#undef wxUSE_TOOLTIPS +#define wxUSE_TOOLTIPS 0 + + + +#endif + + #endif /* _WX_MAC_CHKCONF_H_ */ diff --git a/include/wx/mac/carbon/private.h b/include/wx/mac/carbon/private.h index aa78392df7..5014a51d88 100644 --- a/include/wx/mac/carbon/private.h +++ b/include/wx/mac/carbon/private.h @@ -152,7 +152,10 @@ private: */ // app.h + +#if MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_5 bool wxMacConvertEventToRecord( EventRef event , EventRecord *rec); +#endif #endif // wxUSE_GUI