searching for wxToolBar parent only for kEventMouseMoved events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29115 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -444,7 +444,7 @@ pascal OSStatus wxMacTopLevelMouseEventHandler( EventHandlerCallRef handler , Ev
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
currentMouseWindow = wxFindControlFromMacControl( control ) ;
|
currentMouseWindow = wxFindControlFromMacControl( control ) ;
|
||||||
if ( currentMouseWindow == NULL )
|
if ( currentMouseWindow == NULL && cEvent.GetKind() == kEventMouseMoved )
|
||||||
{
|
{
|
||||||
// for wxToolBar to function we have to send certaint events to it
|
// for wxToolBar to function we have to send certaint events to it
|
||||||
// instead of its children (wxToolBarTools)
|
// instead of its children (wxToolBarTools)
|
||||||
|
Reference in New Issue
Block a user