From 58ddb76c39b7c204181f28d9ef14e71466968b1f Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Thu, 1 Apr 2004 15:18:06 +0000 Subject: [PATCH] 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 --- src/mac/carbon/app.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 : { -- 2.45.2