X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d3c7fc996a73e9f6a83067bc28a3c5581a3fee65..e3b81044ee30ead362ba6e1bf95af13248afe41c:/include/wx/mac/carbon/fontdlg.h diff --git a/include/wx/mac/carbon/fontdlg.h b/include/wx/mac/carbon/fontdlg.h index c2fb0706b9..b9533bea69 100644 --- a/include/wx/mac/carbon/fontdlg.h +++ b/include/wx/mac/carbon/fontdlg.h @@ -1,6 +1,6 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: fontdlg.h -// Purpose: wxFontDialog class using fonts window services (10.2+). +// Name: wx/mac/carbon/fontdlg.h +// Purpose: wxFontDialog class using fonts window services (10.2+). // Author: Ryan Norton // Modified by: // Created: 2004-09-25 @@ -20,8 +20,12 @@ */ #ifndef wxMAC_USE_EXPERIMENTAL_FONTDIALOG +#if MAC_OS_X_VERSION_MAX_ALLOWED <= MAC_OS_X_VERSION_10_2 +#define wxMAC_USE_EXPERIMENTAL_FONTDIALOG 0 +#else #define wxMAC_USE_EXPERIMENTAL_FONTDIALOG 1 #endif +#endif #if wxMAC_USE_EXPERIMENTAL_FONTDIALOG @@ -157,11 +161,10 @@ public: protected: wxWindow* m_dialogParent; wxFontData m_fontData; - void* m_pEventHandlerRef; + void* m_pEventHandlerRef; }; #endif #endif // _WX_FONTDLG_H_ -