these selectors may exist not only on our own wxUIView class , but also in eg documentViews ie UIViews, add selectors for the enabled property
This commit is contained in:
@@ -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)setTitle:(NSString *)title forState:(UIControlState)state;
|
||||||
|
|
||||||
- (void)drawRect: (CGRect) rect;
|
- (void)drawRect: (CGRect) rect;
|
||||||
@@ -70,6 +70,9 @@ CGRect wxOSXGetFrameForControl( wxWindowMac* window , const wxPoint& pos , const
|
|||||||
|
|
||||||
- (BOOL) becomeFirstResponder;
|
- (BOOL) becomeFirstResponder;
|
||||||
- (BOOL) resignFirstResponder;
|
- (BOOL) resignFirstResponder;
|
||||||
|
|
||||||
|
- (BOOL)isEnabled;
|
||||||
|
- (void)setEnabled:(BOOL)flag;
|
||||||
@end
|
@end
|
||||||
|
|
||||||
//
|
//
|
||||||
|
Reference in New Issue
Block a user