removing unnecessary hook

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70842 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor 2012-03-08 15:48:51 +00:00
parent 20111900fa
commit 6fc8ad6d53

View File

@ -2468,11 +2468,7 @@ bool wxWidgetCocoaImpl::DoHandleMouseEvent(NSEvent *event)
{
wxMouseEvent wxevent(wxEVT_LEFT_DOWN);
SetupMouseEvent(wxevent , event) ;
wxWindow* wxp = GetWXPeer();
#if wxUSE_TOOLTIPS
wxToolTip::RelayEvent( wxp , wxevent);
#endif
return wxp->HandleWindowEvent(wxevent);
return GetWXPeer()->HandleWindowEvent(wxevent);
}
void wxWidgetCocoaImpl::DoNotifyFocusEvent(bool receivedFocus, wxWidgetImpl* otherWindow)