]> git.saurik.com Git - wxWidgets.git/commitdiff
removing unnecessary hook
authorStefan Csomor <csomor@advancedconcepts.ch>
Thu, 8 Mar 2012 15:48:51 +0000 (15:48 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Thu, 8 Mar 2012 15:48:51 +0000 (15:48 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70842 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/osx/cocoa/window.mm

index 1e9cadbebaff39d5a9e44254f552f7d58b03e484..a70459f79b2393f36a891051cd9757976b1a1206 100644 (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)