March 4, 2026
7:56 p.m.
On Wed Mar 4 17:45:53 2026 +0000, Esme Povirk wrote:
We should also test a drawing function. It's unclear whether native succeeds here because GdipMeasureString doesn't need to draw anything (and therefore in theory doesn't need to call GetDC), or because native is ignoring failures from it. That's also what I guessed—`GdipMeasureString` doesn't require actual rendering, so the test case passes on Windows. Regarding the drawing functions, since the window has already been destroyed in this test scenario, the drawing result is not important, so I didn't pay much attention to it. After this patch is completed, I will focus on the drawing functions.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/10235#note_131342