From: Stefan Csomor Date: Sat, 28 Jan 2012 13:31:16 +0000 (+0000) Subject: adding OSX to the platforms which do the ui update upon menu open X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/1c415bab65939f4e0c42cfa38b870067f7112513?ds=inline adding OSX to the platforms which do the ui update upon menu open git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70473 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/platform.h b/include/wx/platform.h index 1f42b370d0..0a05b48f4f 100644 --- a/include/wx/platform.h +++ b/include/wx/platform.h @@ -28,6 +28,15 @@ # include # include # include +# ifndef MAC_OS_X_VERSION_10_4 +# define MAC_OS_X_VERSION_10_4 1040 +# endif +# ifndef MAC_OS_X_VERSION_10_5 +# define MAC_OS_X_VERSION_10_5 1050 +# endif +# ifndef MAC_OS_X_VERSION_10_6 +# define MAC_OS_X_VERSION_10_6 1060 +# endif # include "wx/osx/config_xcode.h" # ifndef __WXOSX__ # define __WXOSX__ 1 @@ -757,7 +766,7 @@ * Presently, only Windows and GTK+ support wxEVT_MENU_OPEN. */ #ifndef wxUSE_IDLEMENUUPDATES -# if (defined(__WXMSW__) || defined(__WXGTK__)) && !defined(__WXUNIVERSAL__) +# if (defined(__WXMSW__) || defined(__WXGTK__) || defined(__WXOSX__)) && !defined(__WXUNIVERSAL__) # define wxUSE_IDLEMENUUPDATES 0 # else # define wxUSE_IDLEMENUUPDATES 1