X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c4825ef73a5f190b8f39c59df098c3f39fa4464b..4eb5a0ec0421b3dba1c46c1dcb27a711af4bec36:/src/osx/cocoa/srchctrl.mm 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