pass in NULL for mouse event handler, otherwise the handler thinks it is a valid toplevel window
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26552 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -475,7 +475,7 @@ pascal OSStatus wxMacAppEventHandler( EventHandlerCallRef handler , EventRef eve
|
|||||||
result = wxMacAppMenuEventHandler( handler , event , data ) ;
|
result = wxMacAppMenuEventHandler( handler , event , data ) ;
|
||||||
break ;
|
break ;
|
||||||
case kEventClassMouse :
|
case kEventClassMouse :
|
||||||
result = wxMacTopLevelMouseEventHandler( handler , event , data ) ;
|
result = wxMacTopLevelMouseEventHandler( handler , event , NULL ) ;
|
||||||
break ;
|
break ;
|
||||||
case kEventClassAppleEvent :
|
case kEventClassAppleEvent :
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user