From 1e81241f3a92bad68472935636f60dc2b23dde5d Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Fri, 20 Oct 2006 17:22:00 +0000 Subject: [PATCH] moving the offsets into dcclient.cpp so that native event handlers can be called through git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42173 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/mac/carbon/window.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/mac/carbon/window.cpp b/src/mac/carbon/window.cpp index 6991424ffc..3183451f17 100644 --- a/src/mac/carbon/window.cpp +++ b/src/mac/carbon/window.cpp @@ -251,10 +251,6 @@ static pascal OSStatus wxMacWindowControlEventHandler( EventHandlerCallRef handl { wxMacCGContextStateSaver sg( cgContext ) ; - // make sure the context is having its origin at the wx-window coordinates of the - // view (read at the top of this file about the differences) - if ( thisWindow->MacGetLeftBorderSize() != 0 || thisWindow->MacGetTopBorderSize() != 0 ) - CGContextTranslateCTM( cgContext , -thisWindow->MacGetLeftBorderSize() , -thisWindow->MacGetTopBorderSize() ); float alpha = 1.0 ; { wxWindow* iter = thisWindow ; -- 2.47.2