From c6e7099c5d69879bd1bcbad39e5e608e4868fe25 Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Thu, 2 Jun 2005 07:31:04 +0000 Subject: [PATCH] no message git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34509 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/mac/carbon/window.cpp | 10 ---------- 1 file changed, 10 deletions(-) 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 ) ; -- 2.45.2