From 7513492024ba8bee7bc82e02c58a1b388793ee3b Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Tue, 20 Jun 2017 20:38:23 +0200 Subject: [PATCH] these selectors may exist not only on our own wxUIView class , but also in eg documentViews ie UIViews, add selectors for the enabled property --- src/osx/iphone/window.mm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/osx/iphone/window.mm b/src/osx/iphone/window.mm index 5872e9dc01..614080dc62 100644 --- a/src/osx/iphone/window.mm +++ b/src/osx/iphone/window.mm @@ -58,7 +58,7 @@ CGRect wxOSXGetFrameForControl( wxWindowMac* window , const wxPoint& pos , const } -@interface wxUIView(PossibleMethods) +@interface UIView(PossibleMethods) - (void)setTitle:(NSString *)title forState:(UIControlState)state; - (void)drawRect: (CGRect) rect; @@ -70,6 +70,9 @@ CGRect wxOSXGetFrameForControl( wxWindowMac* window , const wxPoint& pos , const - (BOOL) becomeFirstResponder; - (BOOL) resignFirstResponder; + +- (BOOL)isEnabled; +- (void)setEnabled:(BOOL)flag; @end //