MSW: Dark mode border flickers white on WM_NCPAINT (Issue #26630)

10 views
Skip to first unread message

Mohmed abdel-fattah

unread,
Jun 25, 2026, 6:21:14 AM (3 days ago) Jun 25
to wx-...@googlegroups.com, Subscribed
memoarfaa created an issue (wxWidgets/wxWidgets#26630)

Description

When dark mode is active and a window has a themed border (wxBORDER_THEME,
wxBORDER_SUNKEN, etc.), the NC area briefly flashes the system light-mode border
before the dark custom border is drawn. This is visible as a white/light border flicker
on any resize, move-over, or partial NC invalidation.

https://github.com/user-attachments/assets/70a73e63-b6cd-4abf-8d82-2d91a4f9fdea

wxWidgets port : wxMSW.


Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/issues/26630@github.com>

Reply all
Reply to author
Forward
0 new messages