support building against iOS 12 SDK
where UIMenuElement is not present yet
This commit is contained in:
@@ -255,7 +255,12 @@
|
||||
|
||||
#if wxUSE_MENUS
|
||||
#undef wxUSE_MENUS
|
||||
// we are basing our implementatino on UIMenuElement
|
||||
#if __IPHONE_OS_VERSION_MAX_ALLOWED >= 130000
|
||||
#define wxUSE_MENUS 1
|
||||
#else
|
||||
#define wxUSE_MENUS 0
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if wxUSE_MENUBAR
|
||||
|
Reference in New Issue
Block a user