From c41255bd985d259bf32c25a2d86bf3a97fb3999b Mon Sep 17 00:00:00 2001 From: Maarten Bent Date: Wed, 24 Oct 2018 19:30:41 +0200 Subject: [PATCH] Add recent macOS setup.h defines to correct file It was added to setup.h, not setup_inc.h. Regenerating setup.h would remove the defines. --- include/wx/osx/setup_inc.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/include/wx/osx/setup_inc.h b/include/wx/osx/setup_inc.h index 45dad65ca7..f1ad88dd74 100644 --- a/include/wx/osx/setup_inc.h +++ b/include/wx/osx/setup_inc.h @@ -60,3 +60,10 @@ // make sure we have the proper dispatcher for the console event loop #define wxUSE_SELECT_DISPATCHER 1 #define wxUSE_EPOLL_DISPATCHER 0 + +// set to 1 if you have older code that still needs icon refs +#define wxOSX_USE_ICONREF 0 + +// set to 0 if you have code that has problems with the new bitmap implementation +#define wxOSX_BITMAP_NATIVE_ACCESS 1 +