]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/toplevel.cpp
cleanup
[wxWidgets.git] / 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 )
             {