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