Implement minimal wxMenu support for iOS
A separate change later will add features using iOS 14 specific API and iOS 13 (and earlier) fallback for them.
This commit is contained in:
committed by
Vadim Zeitlin
parent
ff24484952
commit
7812657cbf
@@ -2772,6 +2772,8 @@ typedef WX_NSPasteboard OSXPasteboard;
|
||||
|
||||
#elif wxOSX_USE_IPHONE
|
||||
|
||||
DECLARE_WXCOCOA_OBJC_CLASS(UIMenu);
|
||||
DECLARE_WXCOCOA_OBJC_CLASS(UIMenuItem);
|
||||
DECLARE_WXCOCOA_OBJC_CLASS(UIWindow);
|
||||
DECLARE_WXCOCOA_OBJC_CLASS(UImage);
|
||||
DECLARE_WXCOCOA_OBJC_CLASS(UIView);
|
||||
@@ -2786,6 +2788,7 @@ DECLARE_WXCOCOA_OBJC_CLASS(UIPasteboard);
|
||||
typedef WX_UIWindow WXWindow;
|
||||
typedef WX_UIView WXWidget;
|
||||
typedef WX_UIImage WXImage;
|
||||
typedef WX_UIMenu WXHMENU;
|
||||
typedef WX_EAGLContext WXGLContext;
|
||||
typedef WX_NSString WXGLPixelFormat;
|
||||
typedef WX_UIWebView OSXWebViewPtr;
|
||||
|
Reference in New Issue
Block a user