https://github.com/wxWidgets/wxWidgets/pull/26329
(1 file)
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()
@vadz commented on this pull request.
> @@ -354,6 +354,10 @@ int wxNotebook::SetSelection(size_t nPage)
(void)TabCtrl_SetCurSel(GetHwnd(), nPage);
+ /// MSW does not redraw the tab in darkmode
+ if (wxSystemSettings::GetAppearance().IsDark())
This almost certainly should be wxMSWDarkMode::IsActive(), as we only want to do this when our dark mode support is used, not just because the system is using dark mode.
Could you please check that this works?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()
@RobertRoeb commented on this pull request.
> @@ -354,6 +354,10 @@ int wxNotebook::SetSelection(size_t nPage)
(void)TabCtrl_SetCurSel(GetHwnd(), nPage);
+ /// MSW does not redraw the tab in darkmode
+ if (wxSystemSettings::GetAppearance().IsDark())
Yes, indeed. I believe the other ports work differently - wxSystemSettings::GetAppearance().IsDark() returns true if the app is dark, no matter what the system is so assumed this to be the same on MSW. Will check again if I have time.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()