X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fd04970ab45eb2f392af48b71aa9ecd5d4b1c8c2..b28a58d71c645a11d5ccacecbff78bfe58683105:/src/mac/carbon/window.cpp diff --git a/src/mac/carbon/window.cpp b/src/mac/carbon/window.cpp index b96fabfdcb..2334c0e741 100644 --- a/src/mac/carbon/window.cpp +++ b/src/mac/carbon/window.cpp @@ -218,16 +218,6 @@ static pascal OSStatus wxMacWindowControlEventHandler( EventHandlerCallRef handl { if ( thisWindow->GetPeer()->IsCompositing() == false ) { -/* - if ( thisWindow->GetPeer()->IsRootControl() == false ) - { - GetControlBounds( thisWindow->GetPeer()->GetControlRef() , &controlBounds ) ; - } - else - { - thisWindow->GetPeer()->GetRect( &controlBounds ) ; - } -*/ allocatedRgn = NewRgn() ; CopyRgn( updateRgn , allocatedRgn ) ; OffsetRgn( allocatedRgn , -controlBounds.left , -controlBounds.top ) ;