-// ============================================================================
-// @class wxNSSliderTarget
-// ============================================================================
-@interface wxNSSliderTarget : NSObject
-{
-}
-
-- (void)wxNSSliderUpArrowKeyDown: (id)sender;
-- (void)wxNSSliderDownArrowKeyDown: (id)sender;
-- (void)wxNSSliderLeftArrowKeyDown: (id)sender;
-- (void)wxNSSliderRightArrowKeyDown: (id)sender;
-- (void)wxNSSliderPageUpKeyDown: (id)sender;
-- (void)wxNSSliderPageDownKeyDown: (id)sender;
-- (void)wxNSSliderMoveUp: (id)sender;
-- (void)wxNSSliderMoveDown: (id)sender;
-- (void)wxNSSliderMoveLeft: (id)sender;
-- (void)wxNSSliderMoveRight: (id)sender;
-- (void)wxNSSliderPageUp: (id)sender;
-- (void)wxNSSliderPageDown: (id)sender;
-@end // wxNSSliderTarget
-
-@implementation wxNSSliderTarget : NSObject
-
-- (void)wxNSSliderUpArrowKeyDown: (id)sender
-{
- wxCocoaNSSlider *slider = wxCocoaNSSlider::GetFromCocoa(sender);
- wxCHECK_RET(slider,wxT("wxNSSliderUpArrowKeyDown received without associated wx object"));
- slider->Cocoa_wxNSSliderUpArrowKeyDown();
-}
-
-- (void)wxNSSliderDownArrowKeyDown: (id)sender
-{
- wxCocoaNSSlider *slider = wxCocoaNSSlider::GetFromCocoa(sender);
- wxCHECK_RET(slider,wxT("wxNSSliderDownArrowKeyDown received without associated wx object"));
- slider->Cocoa_wxNSSliderDownArrowKeyDown();
-}
-
-- (void)wxNSSliderLeftArrowKeyDown: (id)sender
-{
- wxCocoaNSSlider *slider = wxCocoaNSSlider::GetFromCocoa(sender);
- wxCHECK_RET(slider,wxT("wxNSSliderLeftArrowKeyDown received without associated wx object"));
- slider->Cocoa_wxNSSliderLeftArrowKeyDown();
-}
-
-- (void)wxNSSliderRightArrowKeyDown: (id)sender
-{
- wxCocoaNSSlider *slider = wxCocoaNSSlider::GetFromCocoa(sender);
- wxCHECK_RET(slider,wxT("wxNSSliderRightArrowKeyDown received without associated wx object"));
- slider->Cocoa_wxNSSliderRightArrowKeyDown();
-}
-
-- (void)wxNSSliderPageUpKeyDown: (id)sender
-{
- wxCocoaNSSlider *slider = wxCocoaNSSlider::GetFromCocoa(sender);
- wxCHECK_RET(slider,wxT("wxNSSliderPageUpKeyDown received without associated wx object"));
- slider->Cocoa_wxNSSliderPageUpKeyDown();
-}
-
-- (void)wxNSSliderPageDownKeyDown: (id)sender
-{
- wxCocoaNSSlider *slider = wxCocoaNSSlider::GetFromCocoa(sender);
- wxCHECK_RET(slider,wxT("wxNSSliderPageDownKeyDown received without associated wx object"));
- slider->Cocoa_wxNSSliderPageDownKeyDown();
-}
-
-- (void)wxNSSliderMoveUp: (id)sender