Fixed presumed typo - crash when frame is NULL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33620 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -715,7 +715,7 @@ static pascal OSStatus wxMacTopLevelWindowEventHandler( EventHandlerCallRef hand
|
|||||||
event.SetEventObject( toplevelWindow ) ;
|
event.SetEventObject( toplevelWindow ) ;
|
||||||
|
|
||||||
toplevelWindow->GetEventHandler()->ProcessEvent(event) ;
|
toplevelWindow->GetEventHandler()->ProcessEvent(event) ;
|
||||||
frame->wxWindowMac::MacSuperChangedPosition() ; // like this only children will be notified
|
toplevelWindow->wxWindowMac::MacSuperChangedPosition() ; // like this only children will be notified
|
||||||
}
|
}
|
||||||
if ( attributes & kWindowBoundsChangeOriginChanged )
|
if ( attributes & kWindowBoundsChangeOriginChanged )
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user