X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4850cc8b2e1037cd394806db4ddcf73868588a4c..64374d1b0628da9aa157a31d63b4edfb03c98adb:/src/osx/cocoa/srchctrl.mm?ds=sidebyside diff --git a/src/osx/cocoa/srchctrl.mm b/src/osx/cocoa/srchctrl.mm index 34758780b9..c1abb250ff 100644 --- a/src/osx/cocoa/srchctrl.mm +++ b/src/osx/cocoa/srchctrl.mm @@ -31,9 +31,11 @@ @interface wxNSSearchField : NSSearchField { - wxWidgetCocoaImpl* impl; + WXCOCOAIMPL_COMMON_MEMBERS } +WXCOCOAIMPL_COMMON_INTERFACE + @end @implementation wxNSSearchField @@ -47,20 +49,7 @@ return self; } -- (void)setImplementation: (wxWidgetCocoaImpl *) theImplementation -{ - impl = theImplementation; -} - -- (wxWidgetCocoaImpl*) implementation -{ - return impl; -} - -- (BOOL) isFlipped -{ - return YES; -} +WXCOCOAIMPL_COMMON_IMPLEMENTATION // use our common calls - (void) setTitle:(NSString *) title