[wxWidgets/wxWidgets] 8d7c1c: Fix setting overlay opacity when wxGC is disabled

0 views
Skip to first unread message

VZ

unread,
Jun 22, 2026, 8:44:43 AM (3 days ago) Jun 22
to wx-co...@googlegroups.com
Branch: refs/heads/master
Home: https://github.com/wxWidgets/wxWidgets
Commit: 8d7c1c6b98b512e48b4882ea5edccad4dfe170c7
https://github.com/wxWidgets/wxWidgets/commit/8d7c1c6b98b512e48b4882ea5edccad4dfe170c7
Author: Maarten Bent <Maart...@users.noreply.github.com>
Date: 2026-06-13 (Sat, 13 Jun 2026)

Changed paths:
M src/msw/overlay.cpp

Log Message:
-----------
Fix setting overlay opacity when wxGC is disabled


Commit: 8746823e94e7d629884ec20fe9a0f6c5d61ede12
https://github.com/wxWidgets/wxWidgets/commit/8746823e94e7d629884ec20fe9a0f6c5d61ede12
Author: Maarten Bent <Maart...@users.noreply.github.com>
Date: 2026-06-13 (Sat, 13 Jun 2026)

Changed paths:
M samples/drawing/drawing.cpp

Log Message:
-----------
Fix overlay in drawing sample when wxGC is disabled


Commit: 89d19214784213c147c30f6e274d03470eb899f8
https://github.com/wxWidgets/wxWidgets/commit/89d19214784213c147c30f6e274d03470eb899f8
Author: Maarten Bent <Maart...@users.noreply.github.com>
Date: 2026-06-13 (Sat, 13 Jun 2026)

Changed paths:
M samples/drawing/drawing.cpp

Log Message:
-----------
Enable saving SVG for graphics context page in drawing sample


Commit: 8bf3e155a78017fb74e33131dec88b8f8ecdf01c
https://github.com/wxWidgets/wxWidgets/commit/8bf3e155a78017fb74e33131dec88b8f8ecdf01c
Author: Maarten Bent <Maart...@users.noreply.github.com>
Date: 2026-06-13 (Sat, 13 Jun 2026)

Changed paths:
M include/wx/private/svg.h
M src/common/dcsvg.cpp
M src/common/svggc.cpp

Log Message:
-----------
Support pen and brush styles in wxSVGGraphicsContext

SVG does not allow redefining patterns with the same ID, so write each pattern only once.


Commit: 8386a98409d0964d4aa62cba9a69c4991b8c3235
https://github.com/wxWidgets/wxWidgets/commit/8386a98409d0964d4aa62cba9a69c4991b8c3235
Author: Vadim Zeitlin <va...@wxwidgets.org>
Date: 2026-06-16 (Tue, 16 Jun 2026)

Changed paths:
M src/msw/nonownedwnd.cpp

Log Message:
-----------
Restrict the new size after DPI change to the display size

wxSizer::GetMinSize() can return a size bigger than the display size,
but we never want to use such size for the window, so ensure that it
fits the display client area.

This also ensures that the window doesn't become bigger than its max
size.


Commit: 75284bb8f05ab3fe8a87ea560788af4a31ec2068
https://github.com/wxWidgets/wxWidgets/commit/75284bb8f05ab3fe8a87ea560788af4a31ec2068
Author: Vadim Zeitlin <va...@wxwidgets.org>
Date: 2026-06-16 (Tue, 16 Jun 2026)

Changed paths:
M src/msw/nonownedwnd.cpp

Log Message:
-----------
Ensure the window origin is visible after DPI change

Keep the window origin on its display to avoid moving it out of visible
area, which is unexpected and inconvenient.


Commit: 863e46bb5345f4b97772bd04bf49c345152d9d91
https://github.com/wxWidgets/wxWidgets/commit/863e46bb5345f4b97772bd04bf49c345152d9d91
Author: Vadim Zeitlin <va...@wxwidgets.org>
Date: 2026-06-16 (Tue, 16 Jun 2026)

Changed paths:
M src/common/treebase.cpp

Log Message:
-----------
Limit maximum height of wxTreeCtrl best size

A tree control with many items could return a size much bigger than the
size of the screen, resulting in any window containing it and computing
its fitting size becoming vertically maximized, which is not the
expected behaviour as other controls, e.g. multiline wxTextCtrl, don't
behave like this.

Arbitrarily limit the best height to ~20 items.


Commit: 2da4ea974433a4caaf8a86d3c4b7b3ed596c8931
https://github.com/wxWidgets/wxWidgets/commit/2da4ea974433a4caaf8a86d3c4b7b3ed596c8931
Author: Vadim Zeitlin <va...@wxwidgets.org>
Date: 2026-06-20 (Sat, 20 Jun 2026)

Changed paths:
M include/wx/sizer.h
M src/common/sizer.cpp
M src/msw/window.cpp

Log Message:
-----------
Move code for updating sizers on DPI change to wxSizer itself

Replacing the existing global UpdateSizerOnDPIChange() with a member
function will allow accessing private wxSizer variables in it (see the
next commit) and making it virtual will allow overriding it in the
derived classes to update more fields on DPI change.

No real changes yet.

This commit is best viewed with Git --color-moved option.


Commit: 3a1bcddd2ee5b25216b9855c5e7c20f583a8c73a
https://github.com/wxWidgets/wxWidgets/commit/3a1bcddd2ee5b25216b9855c5e7c20f583a8c73a
Author: Vadim Zeitlin <va...@wxwidgets.org>
Date: 2026-06-20 (Sat, 20 Jun 2026)

Changed paths:
M src/common/sizer.cpp

Log Message:
-----------
Update wxSizer own min size on DPI change

We already updated the min size of wxSizerItem containing the sizer, but when
the sizer has a fixed min size set, this size needs to be updated as well, so
do it too in UpdateOnDPIChange().

See #26498.


Commit: 0245dea95135c0264af54c2b56deff10218c6e22
https://github.com/wxWidgets/wxWidgets/commit/0245dea95135c0264af54c2b56deff10218c6e22
Author: Vadim Zeitlin <va...@wxwidgets.org>
Date: 2026-06-20 (Sat, 20 Jun 2026)

Changed paths:
M include/wx/sizer.h
M src/common/sizer.cpp

Log Message:
-----------
Update wxGridSizer gap sizes on DPI change

Rescale gaps between rows/columns when the DPI changes.

See #26498.


Commit: 81ac052c6ecac6f4041fa5313be0754d62a6d329
https://github.com/wxWidgets/wxWidgets/commit/81ac052c6ecac6f4041fa5313be0754d62a6d329
Author: Vadim Zeitlin <va...@wxwidgets.org>
Date: 2026-06-20 (Sat, 20 Jun 2026)

Changed paths:
M src/aui/framemanager.cpp

Log Message:
-----------
Always set both components of pane sizer item min size

wxAUI layout uses min size (1,1) if no min size is explicitly set for
the pane but if an explicit size was given in one direction, it used
best size in the other, unspecified, direction, which was unexpected,
especially if the best size of the window was big, as setting min size
resulted in dramatically increasing the pane size.

Now we still set the other component of min size to 1 in this case,
which avoids such surprises.

Closes #26557.


Commit: a5932c8af0f57d0b61bcd48d4450af328e17a62e
https://github.com/wxWidgets/wxWidgets/commit/a5932c8af0f57d0b61bcd48d4450af328e17a62e
Author: Vadim Zeitlin <va...@wxwidgets.org>
Date: 2026-06-20 (Sat, 20 Jun 2026)

Changed paths:
M src/msw/anybutton.cpp

Log Message:
-----------
Revert "Force standard button foreground color when highlighted on MSW"

This reverts commit f3ab568a02723dc8b2957bce3b3ee6779698e8d8 because
people do want to use the selected foreground colour even in "current"
state, see #26453.

A better solution will be implemented for the problem of #22721 which
was originally solved by this commit, see #25806.


Commit: e069b7f4b9737b634bd727fe124854bdc3085514
https://github.com/wxWidgets/wxWidgets/commit/e069b7f4b9737b634bd727fe124854bdc3085514
Author: Jorge Moraleda <jorge.m...@gmail.com>
Date: 2026-06-21 (Sun, 21 Jun 2026)

Changed paths:
M include/wx/generic/grid.h
M interface/wx/grid.h

Log Message:
-----------
Add wxGrid::GetFrozenRowLabelWindow() and GetFrozenColLabelWindow()

These accessors for the frozen row and column label sub-windows were
missing from the public API even though the equivalent data cell windows
(GetFrozenRowGridWindow/GetFrozenColGridWindow) are already public.
Without them it is impossible to bind events (e.g. EVT_MOTION) to the
frozen label strips from outside the wxGrid implementation.

Closes #26617.


Commit: e786a4c78e62715ed56a7238964d938caf021b6b
https://github.com/wxWidgets/wxWidgets/commit/e786a4c78e62715ed56a7238964d938caf021b6b
Author: Vadim Zeitlin <va...@wxwidgets.org>
Date: 2026-06-21 (Sun, 21 Jun 2026)

Changed paths:
M src/msw/anybutton.cpp

Log Message:
-----------
Use a variant of background colour in hot state for the buttons

Instead of ignoring the user-set background colour and always using the
system default colour in the hot (a.k.a. current) state, use a slightly
different shade of the custom colour.

This avoids, or at least reduces, problems with the button text becoming
unreadable on the default background but still makes the button change
its visual appearance when the mouse hovers over it.

See #22721, #25806, #26453.


Commit: 52360028b9c1bd21a6349d4b2d04b5a7fd225728
https://github.com/wxWidgets/wxWidgets/commit/52360028b9c1bd21a6349d4b2d04b5a7fd225728
Author: Vadim Zeitlin <va...@wxwidgets.org>
Date: 2026-06-21 (Sun, 21 Jun 2026)

Changed paths:
M include/wx/private/svg.h
M samples/drawing/drawing.cpp
M src/common/dcsvg.cpp
M src/common/svggc.cpp
M src/msw/overlay.cpp

Log Message:
-----------
Merge branch 'svggc-pen-brush' of github.com:MaartenBent/wxWidgets

Support pen and brush styles in wxSVGGraphicsContext.

See #26586.


Commit: e871f1a84123065b09b9e90d06cd4f7913ec7521
https://github.com/wxWidgets/wxWidgets/commit/e871f1a84123065b09b9e90d06cd4f7913ec7521
Author: Blake-Madden <66873089+B...@users.noreply.github.com>
Date: 2026-06-21 (Sun, 21 Jun 2026)

Changed paths:
M include/wx/gtk/webview_webkit.h
M include/wx/msw/private/webview_edge.h
M include/wx/msw/webview_edge.h
M include/wx/osx/webview_webkit.h
M include/wx/webview.h
M interface/wx/webview.h
M samples/webview/webview.cpp
M src/common/webview.cpp
M src/gtk/webview_webkit2.cpp
M src/msw/webview_edge.cpp
M src/osx/webview_webkit.mm

Log Message:
-----------
Add wxWebView::PrintToPDF()

Add a possibility to save the page as PDF, possibly with some
non-default print settings.

Closes #26583.


Commit: 17e1af0a6b121bebdfac288c0caeb05278119ebf
https://github.com/wxWidgets/wxWidgets/commit/17e1af0a6b121bebdfac288c0caeb05278119ebf
Author: Vadim Zeitlin <va...@wxwidgets.org>
Date: 2026-06-22 (Mon, 22 Jun 2026)

Changed paths:
M include/wx/sizer.h
M src/aui/framemanager.cpp
M src/common/sizer.cpp
M src/common/treebase.cpp
M src/msw/nonownedwnd.cpp
M src/msw/window.cpp

Log Message:
-----------
Merge branch 'msw-dpi-change-fixes'

Fixes for behaviour after DPI change in wxMSW.

Closes #26498.

See #26604.


Commit: 0a6b26ea435f69fb8ea9fd764c1e06cdc148587c
https://github.com/wxWidgets/wxWidgets/commit/0a6b26ea435f69fb8ea9fd764c1e06cdc148587c
Author: Vadim Zeitlin <va...@wxwidgets.org>
Date: 2026-06-22 (Mon, 22 Jun 2026)

Changed paths:
M src/msw/anybutton.cpp

Log Message:
-----------
Merge branch 'msw-button-fg-col'

Respect user-set button foreground colour in wxMSW.

See #26618.


Compare: https://github.com/wxWidgets/wxWidgets/compare/0ec051899373...0a6b26ea435f

To unsubscribe from these emails, change your notification settings at https://github.com/wxWidgets/wxWidgets/settings/notifications
Reply all
Reply to author
Forward
0 new messages