]> git.saurik.com Git - wxWidgets.git/commitdiff
pass in NULL for mouse event handler, otherwise the handler thinks it is a valid...
authorStefan Csomor <csomor@advancedconcepts.ch>
Thu, 1 Apr 2004 15:18:06 +0000 (15:18 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Thu, 1 Apr 2004 15:18:06 +0000 (15:18 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26552 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/mac/carbon/app.cpp

index f92a72d827852b6c0dc64b98286bcbca81d3e583..bee3132deb1a1dfc04d40ec93aad89fa009a43cb 100644 (file)
@@ -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 :
             {