]> git.saurik.com Git - wxWidgets.git/commitdiff
no message
authorStefan Csomor <csomor@advancedconcepts.ch>
Thu, 2 Jun 2005 07:31:04 +0000 (07:31 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Thu, 2 Jun 2005 07:31:04 +0000 (07:31 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34509 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/mac/carbon/window.cpp

index b96fabfdcbb666d076ad8ce47b9ba7a629d94fc9..2334c0e7419aace57a75f323993ba3c570c19030 100644 (file)
@@ -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 ) ;