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 ; } }