From: Stefan Csomor Date: Thu, 1 Apr 2004 15:18:06 +0000 (+0000) Subject: pass in NULL for mouse event handler, otherwise the handler thinks it is a valid... X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/58ddb76c39b7c204181f28d9ef14e71466968b1f pass in NULL for mouse event handler, otherwise the handler thinks it is a valid toplevel window git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26552 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/mac/carbon/app.cpp b/src/mac/carbon/app.cpp index f92a72d827..bee3132deb 100644 --- a/src/mac/carbon/app.cpp +++ b/src/mac/carbon/app.cpp @@ -475,7 +475,7 @@ pascal OSStatus wxMacAppEventHandler( EventHandlerCallRef handler , EventRef eve result = wxMacAppMenuEventHandler( handler , event , data ) ; break ; case kEventClassMouse : - result = wxMacTopLevelMouseEventHandler( handler , event , data ) ; + result = wxMacTopLevelMouseEventHandler( handler , event , NULL ) ; break ; case kEventClassAppleEvent : {