X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b28a9af9d5dcd0524a2750498a63f0715fa5938a..f518afb5dcd87eca4287a442e5cc78baf3ab9d4b:/src/mac/carbon/window.cpp?ds=sidebyside 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 ;