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
This commit is contained in:
@@ -28,6 +28,15 @@
|
|||||||
# include <unistd.h>
|
# include <unistd.h>
|
||||||
# include <TargetConditionals.h>
|
# include <TargetConditionals.h>
|
||||||
# include <AvailabilityMacros.h>
|
# include <AvailabilityMacros.h>
|
||||||
|
# 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"
|
# include "wx/osx/config_xcode.h"
|
||||||
# ifndef __WXOSX__
|
# ifndef __WXOSX__
|
||||||
# define __WXOSX__ 1
|
# define __WXOSX__ 1
|
||||||
@@ -757,7 +766,7 @@
|
|||||||
* Presently, only Windows and GTK+ support wxEVT_MENU_OPEN.
|
* Presently, only Windows and GTK+ support wxEVT_MENU_OPEN.
|
||||||
*/
|
*/
|
||||||
#ifndef wxUSE_IDLEMENUUPDATES
|
#ifndef wxUSE_IDLEMENUUPDATES
|
||||||
# if (defined(__WXMSW__) || defined(__WXGTK__)) && !defined(__WXUNIVERSAL__)
|
# if (defined(__WXMSW__) || defined(__WXGTK__) || defined(__WXOSX__)) && !defined(__WXUNIVERSAL__)
|
||||||
# define wxUSE_IDLEMENUUPDATES 0
|
# define wxUSE_IDLEMENUUPDATES 0
|
||||||
# else
|
# else
|
||||||
# define wxUSE_IDLEMENUUPDATES 1
|
# define wxUSE_IDLEMENUUPDATES 1
|
||||||
|
Reference in New Issue
Block a user