]> git.saurik.com Git - wxWidgets.git/blobdiff - src/osx/carbon/window.cpp
fixing #9910
[wxWidgets.git] / src / osx / carbon / window.cpp
index af9d1226754e666bddda8240e6bc49e0223fd2e6..30f236281a79b0d3dda2165a59c5f4b307f32c49 100644 (file)
@@ -2727,7 +2727,7 @@ static pascal OSStatus wxMacWindowControlEventHandler( EventHandlerCallRef handl
                 WindowRef owner = cEvent.GetParameter<WindowRef>(kEventParamWindowRef);
                 if ( !IsWindowActive(owner) )
                 {
                 WindowRef owner = cEvent.GetParameter<WindowRef>(kEventParamWindowRef);
                 if ( !IsWindowActive(owner) )
                 {
-                    cEvent.SetParameter(kEventParamClickActivation,(UInt32) kActivateAndIgnoreClick) ;
+                    cEvent.SetParameter(kEventParamClickActivation,typeClickActivationResult, (UInt32) kActivateAndIgnoreClick) ;
                     result = noErr ;
                 }
             }
                     result = noErr ;
                 }
             }