]> git.saurik.com Git - wxWidgets.git/commitdiff
Fixed presumed typo - crash when frame is NULL
authorJulian Smart <julian@anthemion.co.uk>
Fri, 15 Apr 2005 07:22:33 +0000 (07:22 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Fri, 15 Apr 2005 07:22:33 +0000 (07:22 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33620 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/mac/carbon/toplevel.cpp

index a5ba3bd2a749bcd1504f121ceb592a82161fc173..0723699637324e5a4443b400a0e4a844cbb7551b 100644 (file)
@@ -715,7 +715,7 @@ static pascal OSStatus wxMacTopLevelWindowEventHandler( EventHandlerCallRef hand
                 event.SetEventObject( toplevelWindow ) ;
 
                 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 )
             {