Merged trunk 46229 (NOTE: CVS) inside #if 0 pending research into how to do it in an ABI-compatible way:

Implement mouse entered, exited, and synthesize move events while the mouse is inside.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47792 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
David Elliott
2007-07-28 19:06:06 +00:00
parent 45b891b8e1
commit 19d3db8dec
7 changed files with 303 additions and 4 deletions

View File

@@ -37,6 +37,9 @@ public:
virtual wxWindow* GetWxWindow() const
{ return NULL; }
virtual void Cocoa_FrameChanged(void) = 0;
#if 0 // ABI incompatibility
virtual void Cocoa_synthesizeMouseMoved(void) = 0;
#endif
virtual bool Cocoa_acceptsFirstMouse(bool &acceptsFirstMouse, WX_NSEvent theEvent)
{ return false; }
virtual bool Cocoa_drawRect(const NSRect &rect)
@@ -67,6 +70,12 @@ public:
{ return false; }
virtual bool Cocoa_resetCursorRects()
{ return false; }
#if 0 // ABI incompatibility
virtual bool Cocoa_viewDidMoveToWindow()
{ return false; }
virtual bool Cocoa_viewWillMoveToWindow(WX_NSWindow newWindow)
{ return false; }
#endif
virtual ~wxCocoaNSView() { }
};