- else if ( [event type] == NSMouseMoved )
- {
- NSPoint nsPoint = [event locationInWindow];
- if ( [event window] != nil )
- nsPoint = [[event window] convertBaseToScreen:nsPoint];
-
- wxPoint pt = wxFromNSPoint(NULL, nsPoint);
- wxWindow* mw = ::wxFindWindowAtPoint(pt);
- if ( mw )
- {
- if (wxTheApp)
- wxTheApp->MacSetCurrentEvent(event, NULL);
- ((wxWidgetCocoaImpl*)mw->GetPeer())->DoHandleMouseEvent( event);
- handled = true;
- }
- }