March 6, 2026
9:41 p.m.
graphics->owndc being TRUE indicates that graphics is created using GdipCreateFromHWND. In has_gdi_dc, it is necessary to check whether the window has already been destroyed. -- v2: gdiplus: Validate window handle in GdipMeasureString https://gitlab.winehq.org/wine/wine/-/merge_requests/10235