X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/888dde65f43d5f57e8fb2028b27191cca1741403..bbd92d1dbea02db8c28e9c17bfacc0563d855b25:/src/mac/carbon/overlay.cpp diff --git a/src/mac/carbon/overlay.cpp b/src/mac/carbon/overlay.cpp index c33c96e8e7..1a03d6e1a8 100644 --- a/src/mac/carbon/overlay.cpp +++ b/src/mac/carbon/overlay.cpp @@ -105,7 +105,7 @@ OSStatus wxOverlayImpl::CreateOverlayWindow() return err; } -void wxOverlayImpl::Init( wxWindowDC* dc, int x , int y , int width , int height ) +void wxOverlayImpl::Init( wxDC* dc, int x , int y , int width , int height ) { wxASSERT_MSG( !IsOk() , _("You cannot Init an overlay twice") ); @@ -132,7 +132,7 @@ void wxOverlayImpl::Init( wxWindowDC* dc, int x , int y , int width , int height wxASSERT_MSG( err == noErr , _("Couldn't init the context on the overlay window") ); } -void wxOverlayImpl::BeginDrawing( wxWindowDC* dc) +void wxOverlayImpl::BeginDrawing( wxDC* dc) { wxDCImpl *impl = dc->GetImpl(); wxWindowDCImpl *win_impl = wxDynamicCast(impl,wxWindowDCImpl); @@ -144,7 +144,7 @@ void wxOverlayImpl::BeginDrawing( wxWindowDC* dc) } } -void wxOverlayImpl::EndDrawing( wxWindowDC* dc) +void wxOverlayImpl::EndDrawing( wxDC* dc) { wxDCImpl *impl = dc->GetImpl(); wxWindowDCImpl *win_impl = wxDynamicCast(impl,wxWindowDCImpl); @@ -154,7 +154,7 @@ void wxOverlayImpl::EndDrawing( wxWindowDC* dc) CGContextFlush( m_overlayContext ); } -void wxOverlayImpl::Clear(wxWindowDC* WXUNUSED(dc)) +void wxOverlayImpl::Clear(wxDC* WXUNUSED(dc)) { wxASSERT_MSG( IsOk() , _("You cannot Clear an overlay that is not inited") ); CGRect box = CGRectMake( m_x - 1, m_y - 1 , m_width + 2 , m_height + 2 );