]> git.saurik.com Git - wxWidgets.git/commitdiff
fixing remainder of bug #3776, clean activateAndIgnoreClick behaviour for DataBrowser
authorStefan Csomor <csomor@advancedconcepts.ch>
Tue, 5 Aug 2008 17:52:02 +0000 (17:52 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Tue, 5 Aug 2008 17:52:02 +0000 (17:52 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54981 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

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) )
                 {
-                    cEvent.SetParameter(kEventParamClickActivation,(UInt32) kActivateAndIgnoreClick) ;
+                    cEvent.SetParameter(kEventParamClickActivation,typeClickActivationResult, (UInt32) kActivateAndIgnoreClick) ;
                     result = noErr ;
                 }
             }