]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/window.cpp
untangling dc and gc
[wxWidgets.git] / src / mac / carbon / window.cpp
index 6991424ffcd59ef4e2466bc6192f74d7247d8e09..3183451f176ff190d5be6d3744c68f9f567d65d9 100644 (file)
@@ -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 ;