diff --git a/samples/dialogs/dialogs.h b/samples/dialogs/dialogs.h index 6b0bcf8ce7..6f225aa991 100644 --- a/samples/dialogs/dialogs.h +++ b/samples/dialogs/dialogs.h @@ -46,7 +46,7 @@ of MSW, MAC and OS2 #define USE_WXMAC 0 #endif -#if defined(__WXMAC_OSX__) && ( MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_2) +#if defined(__WXMAC_OSX__) && ( MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_2) && USE_NATIVE_FONT_DIALOG_FOR_MACOSX #define USE_WXMACFONTDLG 1 #else #define USE_WXMACFONTDLG 0