using subclass as impl ptr, common code in macro because mix-in are not possible in obj-c
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58078 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -31,7 +31,7 @@
|
||||
|
||||
@interface wxNSSearchField : NSSearchField
|
||||
{
|
||||
wxWidgetImpl* impl;
|
||||
wxWidgetCocoaImpl* impl;
|
||||
}
|
||||
|
||||
@end
|
||||
@@ -47,12 +47,12 @@
|
||||
return self;
|
||||
}
|
||||
|
||||
- (void)setImplementation: (wxWidgetImpl *) theImplementation
|
||||
- (void)setImplementation: (wxWidgetCocoaImpl *) theImplementation
|
||||
{
|
||||
impl = theImplementation;
|
||||
}
|
||||
|
||||
- (wxWidgetImpl*) implementation
|
||||
- (wxWidgetCocoaImpl*) implementation
|
||||
{
|
||||
return impl;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user