X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/30c841c84dce46690499567141b98ffcf5a61b6a..bd35c0f57706795bcf56f6ac55ab99aad78f00da:/src/dfb/overlay.cpp diff --git a/src/dfb/overlay.cpp b/src/dfb/overlay.cpp index 740b3c169b..64ae7eff53 100644 --- a/src/dfb/overlay.cpp +++ b/src/dfb/overlay.cpp @@ -78,7 +78,7 @@ void wxOverlayImpl::BeginDrawing(wxWindowDC *dc) // another DC, so we have to change the DC to draw on the overlay's surface. // Setting m_shouldFlip is done to avoid flipping and drawing of overlays // in ~wxWindowDC (we do it EndDrawing). - dc->Init(m_surface); + dc->DFBInit(m_surface); dc->SetDeviceOrigin(-origin.x, -origin.y); dc->m_shouldFlip = false;