+ void SetFont( const wxFont & font , const wxColour& foreground , long windowStyle, bool ignoreBlack = true );
+
+ void InstallEventHandler( WXWidget control = NULL );
+
+ virtual bool DoHandleMouseEvent(NSEvent *event);
+ virtual bool DoHandleKeyEvent(NSEvent *event);
+ virtual bool DoHandleCharEvent(NSEvent *event, NSString *text);
+ virtual void DoNotifyFocusEvent(bool receivedFocus, wxWidgetImpl* otherWindow);
+
+ virtual void SetupKeyEvent(wxKeyEvent &wxevent, NSEvent * nsEvent, NSString* charString = NULL);
+ virtual void SetupMouseEvent(wxMouseEvent &wxevent, NSEvent * nsEvent);
+
+
+ void SetFlipped(bool flipped);
+ virtual bool IsFlipped() const { return m_isFlipped; }
+
+ // cocoa thunk connected calls
+
+ virtual unsigned int draggingEntered(void* sender, WXWidget slf, void* _cmd);
+ virtual void draggingExited(void* sender, WXWidget slf, void* _cmd);
+ virtual unsigned int draggingUpdated(void* sender, WXWidget slf, void* _cmd);
+ virtual bool performDragOperation(void* sender, WXWidget slf, void* _cmd);
+ virtual void mouseEvent(WX_NSEvent event, WXWidget slf, void* _cmd);
+ virtual void keyEvent(WX_NSEvent event, WXWidget slf, void* _cmd);
+ virtual void insertText(NSString* text, WXWidget slf, void* _cmd);
+ virtual bool performKeyEquivalent(WX_NSEvent event, WXWidget slf, void* _cmd);
+ virtual bool acceptsFirstResponder(WXWidget slf, void* _cmd);
+ virtual bool becomeFirstResponder(WXWidget slf, void* _cmd);
+ virtual bool resignFirstResponder(WXWidget slf, void* _cmd);
+ virtual void resetCursorRects(WXWidget slf, void* _cmd);
+ virtual bool isFlipped(WXWidget slf, void* _cmd);
+ virtual void drawRect(void* rect, WXWidget slf, void* _cmd);
+
+ virtual void controlAction(WXWidget slf, void* _cmd, void* sender);
+ virtual void controlDoubleAction(WXWidget slf, void* _cmd, void *sender);
+
+ // for wxTextCtrl-derived classes, put here since they don't all derive
+ // from the same pimpl class.
+ virtual void controlTextDidChange();
+