Debug Alert dialog can get displayed wrong in wxMSW dark mode (Issue #26940)

26 views
Skip to first unread message

PB

unread,
Aug 28, 2026, 9:38:18 AM (8 days ago) Aug 28
to wx-...@googlegroups.com, Subscribed
PBfordev created an issue (wxWidgets/wxWidgets#26940)

When running the widgets sample in Debug build under wxMSW dark mode and selecting Hyperlink page, we get the invalid sizer flag combination alert, which is shown with broken layout:

Image: Image (view on web) Moreover, when I move the dialog from a screen with 120% DPI to one with 100% DPI, the font size seems to increase.

Neither happens in the light mode.

Could not reproduce when triggering the assert from to the minimal sample, the dialog layout was correct. However, when moving the dialog to the unscaled DPI screen, it breaks in another way: Notice the two versions of the texts in the dialog, smaller dark and bigger light:

Image: Image (view on web)


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/26940@github.com>

VZ

unread,
Aug 30, 2026, 7:23:06 PM (5 days ago) Aug 30
to wx-...@googlegroups.com, Subscribed

Closed #26940 as completed via 495bec0.


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/issue/26940/issue_event/30249432588@github.com>

Reply all
Reply to author
Forward
0 new messages