-// ============================================================================
-// @class wxNSSliderNotificationObserver
-// ============================================================================
-@interface wxNSSliderNotificationObserver : NSObject
-{
-}
-
-struct objc_object *wxCocoaNSSlider::sm_cocoaObserver = [[wxNSSliderNotificationObserver alloc] init];
-
-- (void)startTracking: (NSNotification *)notification;
-- (void)continueTracking: (NSNotification *)notification;
-- (void)stopTracking: (NSNotification *)notification;
-@end // interface wxNSSliderNotificationObserver
-
-@implementation wxNSSliderNotificationObserver : NSObject
-
-- (void)startTracking: (NSNotification *)notification;
-{
- wxCocoaNSSlider *slider = wxCocoaNSSlider::GetFromCocoa([notification object]);
- wxCHECK_RET(slider,wxT("startTracking received but no wxSlider exists"));
- slider->CocoaNotification_startTracking(notification);
-}
-
-- (void)continueTracking: (NSNotification *)notification;
-{
- wxCocoaNSSlider *slider = wxCocoaNSSlider::GetFromCocoa([notification object]);
- wxCHECK_RET(slider,wxT("continueTracking received but no wxSlider exists"));
- slider->CocoaNotification_continueTracking(notification);
-}
-
-- (void)stopTracking: (NSNotification *)notification;
-{
- wxCocoaNSSlider *slider = wxCocoaNSSlider::GetFromCocoa([notification object]);
- wxCHECK_RET(slider,wxT("stopTracking received but no wxSlider exists"));
- slider->CocoaNotification_stopTracking(notification);
-}
-
-@end // implementation wxNSSliderNotificationObserver
-