+@end
+
+class wxSpinButtonCocoaImpl : public wxWidgetCocoaImpl
+{
+public :
+ wxSpinButtonCocoaImpl(wxWindowMac* peer , WXWidget w) :
+ wxWidgetCocoaImpl(peer, w)
+ {
+ m_formerValue = 0;
+ }
+
+ ~wxSpinButtonCocoaImpl()
+ {
+ }
+
+ virtual void controlAction(WXWidget slf, void* _cmd, void *sender);
+ virtual void mouseEvent(WX_NSEvent event, WXWidget slf, void* _cmd);
+private:
+ int m_formerValue;
+};
+
+void wxSpinButtonCocoaImpl::mouseEvent(WX_NSEvent event, WXWidget slf, void *_cmd)