+public :
+ static bool MacGetWindowFromPoint( const wxPoint &point , wxWindow** outWin ) ;
+ virtual void MacActivate( EventRecord *ev , bool inIsActivating ) ;
+ virtual void MacUpdate( EventRecord *ev ) ;
+ virtual void MacUpdateImmediately() ;
+ virtual void MacRedraw( RgnHandle updatergn , long time) ;
+ virtual void MacMouseDown( EventRecord *ev , short windowPart ) ;
+ virtual void MacMouseUp( EventRecord *ev , short windowPart ) ;
+ virtual void MacMouseMoved( EventRecord *ev , short windowPart ) ;
+ virtual void MacKeyDown( EventRecord *ev ) ;
+ virtual bool MacCanFocus() const { return true ; }
+
+ virtual void MacFireMouseEvent( EventRecord *ev ) ;
+ virtual bool MacDispatchMouseEvent(wxMouseEvent& event ) ;
+ virtual void MacEraseBackground( Rect *rect ) ;
+ WindowRef GetMacRootWindow() const ;
+
+ virtual ControlHandle MacGetContainerForEmbedding() ;
+ virtual void MacSuperChangedPosition() ;
+
+ bool MacSetupFocusPort() ;
+ bool MacSetupDrawingPort() ;
+ bool MacSetupFocusClientPort() ;
+ bool MacSetupDrawingClientPort() ;
+
+ virtual bool MacSetPortFocusParams( const Point & localOrigin, const Rect & clipRect, WindowRef window , wxWindow* rootwin ) ;
+ virtual bool MacSetPortDrawingParams( const Point & localOrigin, const Rect & clipRect, WindowRef window , wxWindow* rootwin ) ;
+
+ virtual void MacGetPortParams(Point* localOrigin, Rect* clipRect, WindowRef *window , wxWindow** rootwin ) ;
+ virtual void MacGetPortClientParams(Point* localOrigin, Rect* clipRect, WindowRef *window , wxWindow** rootwin) ;
+ MacWindowData* MacGetWindowData() { return m_macWindowData ; }
+ static WindowRef MacGetWindowInUpdate() { return s_macWindowInUpdate ; }
+ bool MacIsWindowScrollbar( const wxScrollBar* sb ) { return (m_hScrollBar == sb || m_vScrollBar == sb) ; }
+ static wxWindow* s_lastMouseWindow ;
+private:
+ virtual bool MacGetWindowFromPointSub( const wxPoint &point , wxWindow** outWin ) ;