From dea54670b3589e472f8fbeb7dfcad382469f23c5 Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Tue, 25 Sep 2012 13:08:37 +0000 Subject: [PATCH] adding constants for newer OSX versions to make sure our conditional expressions are working with earlier SDKs git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72549 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/platform.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/include/wx/platform.h b/include/wx/platform.h index a669edbecc..c91ac39e99 100644 --- a/include/wx/platform.h +++ b/include/wx/platform.h @@ -30,6 +30,9 @@ # ifndef MAC_OS_X_VERSION_10_7 # define MAC_OS_X_VERSION_10_7 1070 # endif +# ifndef MAC_OS_X_VERSION_10_8 +# define MAC_OS_X_VERSION_10_8 1080 +# endif # include "wx/osx/config_xcode.h" # ifndef __WXOSX__ # define __WXOSX__ 1 @@ -654,6 +657,9 @@ # ifndef MAC_OS_X_VERSION_10_7 # define MAC_OS_X_VERSION_10_7 1070 # endif +# ifndef MAC_OS_X_VERSION_10_8 +# define MAC_OS_X_VERSION_10_8 1080 +# endif # else # error "only mach-o configurations are supported" # endif @@ -740,7 +746,7 @@ /* Choose which method we will use for updating menus * - in OnIdle, or when we receive a wxEVT_MENU_OPEN event. - * Presently, only Windows and GTK+ support wxEVT_MENU_OPEN. + * Presently, only Windows, OS X and GTK+ support wxEVT_MENU_OPEN. */ #ifndef wxUSE_IDLEMENUUPDATES # if (defined(__WXMSW__) || defined(__WXGTK__) || defined(__WXOSX__)) && !defined(__WXUNIVERSAL__) -- 2.45.2