]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/overlay.cpp
Ensure that InsertItem doesn't lead to a crash in virtual mode, and don't use SortPro...
[wxWidgets.git] / src / mac / carbon / overlay.cpp
index 7bd29570725d534d72927f859bc8f537bde004df..eda88f97390e39919a512f69814be04500041d79 100644 (file)
@@ -134,10 +134,7 @@ void wxOverlayImpl::Init( wxWindowDC* dc, int x , int y , int width , int height
 
 void wxOverlayImpl::BeginDrawing( wxWindowDC* dc)
 {
-// TODO CS
     dc->SetGraphicsContext( wxGraphicsContext::CreateFromNative( m_overlayContext ) );
-    // triggers an application of the already set device origins to the native context
-    dc->SetUserScale(1,1);
     wxSize size = dc->GetSize() ;
     dc->SetClippingRegion( 0 , 0 , size.x , size.y ) ;
 }