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
This commit is contained in:
@@ -30,6 +30,9 @@
|
|||||||
# ifndef MAC_OS_X_VERSION_10_7
|
# ifndef MAC_OS_X_VERSION_10_7
|
||||||
# define MAC_OS_X_VERSION_10_7 1070
|
# define MAC_OS_X_VERSION_10_7 1070
|
||||||
# endif
|
# endif
|
||||||
|
# ifndef MAC_OS_X_VERSION_10_8
|
||||||
|
# define MAC_OS_X_VERSION_10_8 1080
|
||||||
|
# endif
|
||||||
# include "wx/osx/config_xcode.h"
|
# include "wx/osx/config_xcode.h"
|
||||||
# ifndef __WXOSX__
|
# ifndef __WXOSX__
|
||||||
# define __WXOSX__ 1
|
# define __WXOSX__ 1
|
||||||
@@ -654,6 +657,9 @@
|
|||||||
# ifndef MAC_OS_X_VERSION_10_7
|
# ifndef MAC_OS_X_VERSION_10_7
|
||||||
# define MAC_OS_X_VERSION_10_7 1070
|
# define MAC_OS_X_VERSION_10_7 1070
|
||||||
# endif
|
# endif
|
||||||
|
# ifndef MAC_OS_X_VERSION_10_8
|
||||||
|
# define MAC_OS_X_VERSION_10_8 1080
|
||||||
|
# endif
|
||||||
# else
|
# else
|
||||||
# error "only mach-o configurations are supported"
|
# error "only mach-o configurations are supported"
|
||||||
# endif
|
# endif
|
||||||
@@ -740,7 +746,7 @@
|
|||||||
|
|
||||||
/* Choose which method we will use for updating menus
|
/* Choose which method we will use for updating menus
|
||||||
* - in OnIdle, or when we receive a wxEVT_MENU_OPEN event.
|
* - 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
|
#ifndef wxUSE_IDLEMENUUPDATES
|
||||||
# if (defined(__WXMSW__) || defined(__WXGTK__) || defined(__WXOSX__)) && !defined(__WXUNIVERSAL__)
|
# if (defined(__WXMSW__) || defined(__WXGTK__) || defined(__WXOSX__)) && !defined(__WXUNIVERSAL__)
|
||||||
|
Reference in New Issue
Block a user