X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b16f4bfab29a541cbb24febe07983087776388cb..bc57786b5554a590c4a8abc9c42584fcc8e0a9eb:/src/mac/carbon/toplevel.cpp diff --git a/src/mac/carbon/toplevel.cpp b/src/mac/carbon/toplevel.cpp index 18b9a9b984..111ecb1995 100644 --- a/src/mac/carbon/toplevel.cpp +++ b/src/mac/carbon/toplevel.cpp @@ -444,7 +444,7 @@ pascal OSStatus wxMacTopLevelMouseEventHandler( EventHandlerCallRef handler , Ev else { currentMouseWindow = wxFindControlFromMacControl( control ) ; - if ( currentMouseWindow == NULL ) + if ( currentMouseWindow == NULL && cEvent.GetKind() == kEventMouseMoved ) { // for wxToolBar to function we have to send certaint events to it // instead of its children (wxToolBarTools)