From: Stefan Csomor Date: Tue, 5 Aug 2008 17:52:02 +0000 (+0000) Subject: fixing remainder of bug #3776, clean activateAndIgnoreClick behaviour for DataBrowser X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/cf1c280f7f50f7b6b81a21a13fc4550c30f4e0d2 fixing remainder of bug #3776, clean activateAndIgnoreClick behaviour for DataBrowser git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54981 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/osx/carbon/window.cpp b/src/osx/carbon/window.cpp index af9d122675..30f236281a 100644 --- a/src/osx/carbon/window.cpp +++ b/src/osx/carbon/window.cpp @@ -2727,7 +2727,7 @@ static pascal OSStatus wxMacWindowControlEventHandler( EventHandlerCallRef handl WindowRef owner = cEvent.GetParameter(kEventParamWindowRef); if ( !IsWindowActive(owner) ) { - cEvent.SetParameter(kEventParamClickActivation,(UInt32) kActivateAndIgnoreClick) ; + cEvent.SetParameter(kEventParamClickActivation,typeClickActivationResult, (UInt32) kActivateAndIgnoreClick) ; result = noErr ; } }