X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/cf516c2bb2b8bc462f6f0cb852fb2fc2d86c9c66..b466e85a7e81db84545bc44c83cbe4ccacd4fe8e:/src/osx/cocoa/scrolbar.mm?ds=sidebyside diff --git a/src/osx/cocoa/scrolbar.mm b/src/osx/cocoa/scrolbar.mm index e2a7b01f98..ba5a6f1a57 100644 --- a/src/osx/cocoa/scrolbar.mm +++ b/src/osx/cocoa/scrolbar.mm @@ -23,12 +23,11 @@ @interface wxNSScroller : NSScroller { - wxWidgetCocoaImpl* impl; + WXCOCOAIMPL_COMMON_MEMBERS } -- (void)setImplementation: (wxWidgetCocoaImpl *) theImplementation; -- (wxWidgetCocoaImpl*) implementation; -- (BOOL) isFlipped; +WXCOCOAIMPL_COMMON_INTERFACE + - (void) clickedAction: (id) sender; @end @@ -54,20 +53,7 @@ } } -- (void)setImplementation: (wxWidgetCocoaImpl *) theImplementation -{ - impl = theImplementation; -} - -- (wxWidgetCocoaImpl*) implementation -{ - return impl ; -} - -- (BOOL) isFlipped -{ - return YES; -} +WXCOCOAIMPL_COMMON_IMPLEMENTATION @end