From fde692b5ad1475f7d971f167d8a68ce2af5bd1f2 Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Tue, 28 Sep 2004 14:28:22 +0000 Subject: [PATCH] Use generic font dialog on MacOS X git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29491 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/fontdlg.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/include/wx/fontdlg.h b/include/wx/fontdlg.h index 50e63bdd9e..060ab4c161 100644 --- a/include/wx/fontdlg.h +++ b/include/wx/fontdlg.h @@ -65,10 +65,13 @@ protected: // platform-specific wxFontDialog implementation // ---------------------------------------------------------------------------- +#define USE_NATIVE_FONT_DIALOG_FOR_MACOSX 0 + #if defined(__WXUNIVERSAL__) || \ defined(__WXMOTIF__) || \ - defined(__WXMAC__) && !defined(__WXMAC_OSX__) || \ - defined(__WXMAC_OSX__) && ( MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_2 ) || \ + (defined(__WXMAC__) && !defined(__WXMAC_OSX__)) || \ + (defined(__WXMAC__) && !USE_NATIVE_FONT_DIALOG_FOR_MACOSX) || \ + (defined(__WXMAC_OSX__) && ( MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_2 ) ) || \ defined(__WXCOCOA__) || \ defined(__WXWINCE__) || \ defined(__WXGPE__)