Commit Graph
80239 Commits
Author SHA1 Message Date
Vadim Zeitlin 3ac810a234 Warn about multiple groups in wxFileConfig instead of asserting
It's not clear whether we handle them correctly, and so it might be
better to refuse input with duplicated groups entirely, but for now at
least avoid asserting when encountering them.
2026-07-02 20:48:43 +02:00
Vadim Zeitlin 5a9bcab361 Add pseudo-test allowing to create wxFileConfig for any file
This is convenient for testing problems, for example those found by
OSS-Fuzz (see #26597).
2026-07-02 20:48:41 +02:00
Vadim Zeitlin dd5a0cea4f Guard test for wxPropertyGrid macros with wxUSE_PROPGRID
This is another correction to the test added in the grandparent commit.

See #26651.
2026-07-01 18:48:15 +02:00
Vadim Zeitlin 317610ed4b Suppress spurious warning introduced in parent commit
We get unexpected and unwanted -Wsuggest-attribute=const for the test
code added in the last commit.

See #26651.
2026-07-01 18:42:17 +02:00
Vadim Zeitlin a04dceefea Test wxPropertyGrid macros with wxNO_IMPLICIT_WXSTRING_ENCODING
Verify that these macros produce compilable code.

See #26651.
2026-07-01 16:34:39 +02:00
Lunar-YZandVadim Zeitlin aae2d7062c Fix wxPG macros when wxNO_IMPLICIT_WXSTRING_ENCODING is defined
Use wide-char literal string instead of an ASCII one to fix compilation.

Closes #26651.
2026-07-01 16:31:24 +02:00
Blake-MaddenandVadim Zeitlin 8b080b8cb0 Add system color change responsiveness to ribbon
Add new wxRibbonArtProvider::UpdateColoursFromSystem() and implement it
in wxRibbonMSWArtProvider.

Closes #26644.
2026-07-01 03:19:51 +02:00
Blake-MaddenandVadim Zeitlin 6c3b09b8d3 Add wxWebViewConfiguration::DisableGPUAcceleration()
This function may be called before creating any wxWebView objects in
case of problems due to the use of hardware acceleration.

Closes #26626.
2026-07-01 03:17:22 +02:00
Blake-MaddenandVadim Zeitlin 9956c25c07 Add parent distribution info to wxGetOsDescription()
Add fields for the information about the distribution this one is based
on to wxLinuxDistributionInfo and add them wxGetOsDescription() if
available/applicable.

Closes #26641.
2026-07-01 02:47:00 +02:00
Steve CornettandVadim Zeitlin 9b46b1d886 Fix context help popup appearance in dark mode in wxMSW
Fix Windows dark mode for context help popup by using
wxSystemSettings::GetColour() instead of ::GetSysColor().

Closes #26650.
2026-07-01 02:37:56 +02:00
Arthur ChanandVadim Zeitlin a2e1980e4b Add new fuzzer target fileconf for OSS-Fuzz
Check for bugs in wxFileConfig.

Closes #26597.

Signed-off-by: Arthur Chan <arthur.chan@adalogics.com>
2026-07-01 01:29:33 +02:00
Arthur ChanandVadim Zeitlin ae897594fd Avoid OOM in wxTarInputStream for very large extended header
Don't try allocating arbitrarily large amounts of memory for the
extended header in wxTarInputStream and impose a very big but still
reasonable enough to not result in out of memory condition size for it
by default.

Allow changing this size via the newly added SetMaxExtendedHeaderSize()
function for the applications that want to handle files with even bigger
header or, on the contrary, want to avoid allocating even that much.

This should fix running out of memory in OSS-Fuzz runs using the fuzzer
for this class.

Closes #26588.

Closes #26607.

Signed-off-by: Arthur Chan <arthur.chan@adalogics.com>
2026-07-01 01:29:20 +02:00
Javid KhanandVadim Zeitlin b0e297a0ca Avoid buffer overflow when parsing AFM files
Limit sscanf field widths to avoid overflowing fixed size buffers in
wxPostScriptDC code.

Closes #26645.
2026-07-01 01:23:20 +02:00
Steve CornettandVadim Zeitlin c06b50221c Add missing functions for wxUSE_DARK_MODE=0
Stubs for these functions for this build variant should have been added
when they themselves were but this was forgotten.

Closes #26649.
2026-07-01 01:03:18 +02:00
Steve CornettandVadim Zeitlin 0401dd5ac3 Explicitly draw dark mode border
On Windows in dark mode, explicitly draw borders rather than relying on
DrawThemeBackground(), which does not work well on older versions of
Windows.

Closes #26646.
2026-06-30 22:43:03 +02:00
Steve CornettandVadim Zeitlin 013f249f93 Fix dark mode border flicker
Fix dark mode border flicker by using a clipping region when calling
MSWDefWindowProc(). This prevents drawing the light mode border before
the dark border is drawn.

See #26646.
2026-06-30 22:42:44 +02:00
Vadim Zeitlin 98d4499e6a Reformat recently added wxOSX border code to follow wx style
Put "{" opening a block on its own line.

No real changes.
2026-06-30 22:34:07 +02:00
Vadim Zeitlin 5426a72f95 Merge branch 'osx-window-invalidate-inset-cache' of github.com:ryancog/wxWidgets
Add wxWindow::MacInvalidateInsetCache() to wxOSX/Cocoa.

See #26625.

Closes #26622.
2026-06-30 22:32:30 +02:00
Steve CornettandVadim Zeitlin 25d7cfefea Support switching to wxMSW dark mode in wxAuiToolBar
On Windows, enable dark mode switching for wxAuiToolBar by updating
m_themed upon system colour change.

Closes #26648.
2026-06-30 22:29:27 +02:00
taler21andVadim Zeitlin c5b9d2850e Scale wxSplitterWindow sash width by DPI factor
Closes #26647.
2026-06-30 22:26:19 +02:00
Vadim Zeitlin 46cd33e2be Revert "Ensure the window origin is visible after DPI change"
This reverts commit 75284bb8f0 because it
doesn't always use the right window: at least under Windows 11 25H2 it
is possible that the center of the window is still on the old display
when we receive WM_DPICHANGED and so the window is moved to a wrong
position because of the check added in that commit.

Because this check was mostly needed to work around other issues that
made the window become too big, it seems better to revert it rather than
break something that worked correctly before.

See #26604.
2026-06-30 22:19:58 +02:00
Vadim Zeitlin 7b2bc588e3 Really fix wxStyledTextCtrl::GetMarginCount() documentation
This was done manually in 9864777203 (Upgrade to Doxygen 1.15.0,
2026-05-05) but the changes were lost after regeneration, so add an
override for this function documentation to the generating script itself
to ensure that they're preserved.

This also has the nice side effect of generating a better comment in the
header.

See #26431.
2026-06-27 19:54:44 +02:00
Steve CornettandVadim Zeitlin 5e4034bc30 Fix wxStyledTextCtrl dark mode switching
Add event.Skip() to wxStyledTextCtrl::OnSysColourChanged() so that upon
switching to or from dark mode, the scroll bar switches modes.

Closes #26639.
2026-06-27 19:50:29 +02:00
Steve CornettandVadim Zeitlin fc2755524f Add system colour change handler to wxSashWindow
Closes #26638.
2026-06-27 19:47:51 +02:00
Steve CornettandVadim Zeitlin 70e467e9ae Fix wxPropertyGrid dark mode switching
Add event.Skip() to wxPropertyGrid::OnSysColourChanged() so that upon
switching to or from dark mode, the scroll bar switches modes.

Closes #26637.
2026-06-27 19:46:38 +02:00
Steve CornettandVadim Zeitlin a83d0b0af6 Fix system colour change for wxVListBox
Remove the background colour setting from wxVListBox::Create() so that
the control uses the up-to-date background colour in the paint event
handler. This way the control responds to system colour changes.

The comment about transparent drawing is wrong since 0975a8a (Applied
patch [ 1405821 ] wxVListBox double-buffering + fix to a scrolling issue
By Jaakko Salli, 2006-01-17).

Closes #26636.
2026-06-27 19:45:19 +02:00
Steve CornettandVadim Zeitlin ffeeb612cd Remove not needed code for dark mode support under Windows 1809
Remove GetDwmSetWindowAttribute() call intended for Windows version
which we no longer support with dark mode.

Closes #26634.
2026-06-27 19:30:55 +02:00
Steve CornettandVadim Zeitlin f26f253694 Handle system colour change in wxInfoBarGeneric
Move colour settings from Create() into a new function UpdateColours(),
which gets called from Create() and also upon system colour change.

Closes #26633.
2026-06-27 19:28:04 +02:00
Steve CornettandVadim Zeitlin d2c579305c Fix wxFontPreviewer appearance in dark mode
Add dark mode support to wxFontPreviewer:

- Replace manually drawn black-on-white border with window border
  wxBORDER_SIMPLE.
- Set text colour to wxSYS_COLOUR_WINDOWTEXT.

Closes #26632.
2026-06-27 19:25:50 +02:00
Steve CornettandVadim Zeitlin d6f5fdcf95 Fix switching plain read-only multiline wxTextCtrl to dark mode
For dark mode switching, update the background colour for non-rich
read-only multiline wxTextCtrl controls. The foreground colour is
already updated.

The background colour is controlled by assigning m_backgroundColour
rather than calling SetBackgroundColour(). This leaves the m_hasBgCol
member untouched so that it distinguishes custom colours set by the user
which should not be overwritten, from colours set internally which can
be overwritten.

Some checks of hasBgCol are changed to m_backgroundColour.IsOK(). When
m_backgroundColour.IsOK() is true, there is either a custom colour or an
internally set colour that we need to use.

Closes #26629.
2026-06-27 19:22:47 +02:00
Blake-MaddenandVadim Zeitlin 2071271018 Fix appearance of wxRibbon in dark mode ribbon under Linux/KDE
Under KDE, the ribbon takes a blue hue because its system gray has a
blue tint in it that gets amplified here. This balances this to look
more like how dark mode is under macOS and MSW.

Closes #26627.
2026-06-27 19:09:01 +02:00
Vadim Zeitlin b7f4cb4f74 Initialize wxRibbonBar members in their declarations
This ensures that they are always initialized, even when the default
ctor is used, which wasn't the case before for m_help_button_hovered
which was never set in this case, resulting in UBSAN errors when running
the ribbon sample.
2026-06-27 19:07:09 +02:00
Vadim Zeitlin 3d8aea230c Add debug logging for unexpected input in wxIPCSocketStream
It could be useful to get more information in case of a problem, so log
unexpected situations.
2026-06-27 19:00:14 +02:00
Vadim Zeitlin 2209580741 Refuse to read 0-sized data packets in wxIPCSocketStream
This doesn't make sense and must also indicate a problem with either the
connection or the peer.

See #26628.
2026-06-27 18:57:14 +02:00
dxbjavidandVadim Zeitlin df22982e6e Reject short reads in wxIPCSocketStreams::ReadData()
wxIPCSocketStreams::ReadData() reads a length prefix from the connection
and then reads that many bytes into the buffer returned by
GetBufferAtLeast, but it never checks how many bytes actually arrived.

That buffer is either freshly allocated and so uninitialised or, more
commonly, the connection's own buffer reused from an earlier and
possibly larger message, so a peer that announces more data than it
sends and then drops the link leaves the unread tail untouched and it
gets handed to OnExecute/OnPoke/OnAdvise with the full announced size,
quietly leaking stale process memory across the connection. The socket
reads are done in WAITALL mode so a short read only happens when the
peer is broken or hostile, and every caller already treats a null return
from ReadData as an error, so the safe thing is to return nullptr when
fewer bytes than announced were read instead of using the partially
filled buffer.

Closes #26628.
2026-06-27 18:55:47 +02:00
ryancog fb64a2c4ae wxOSX/Cocoa add -[wxNSButton setBezelStyle:] to handle inset cache 2026-06-25 12:43:41 -04:00
ryancog c867ac9117 wxOSX/Cocoa add wxWindowMac::MacInvalidateInsetCache() 2026-06-23 15:34:04 -04:00
Vadim Zeitlin 8262667a71 Use vector<> instead of manual malloc/free in PCX image handler
Unix builds / Ubuntu 18.04 wxGTK 3 compatible 3.0 (push) Has been cancelled
Unix builds / Ubuntu 24.04 wxGTK ASAN not compatible (push) Has been cancelled
Unix builds / Ubuntu 18.04 wxGTK UTF-8 (push) Has been cancelled
Unix builds / Ubuntu 18.04 wxQt (push) Has been cancelled
Unix builds / Ubuntu 18.04 wxX11 (push) Has been cancelled
Unix builds / Ubuntu 20.04 wxGTK 3 with clang (push) Has been cancelled
Unix builds / Ubuntu 22.04 wxGTK with wx containers (push) Has been cancelled
Unix builds / Ubuntu 18.04 wxDFB (push) Has been cancelled
Unix builds / Ubuntu 24.04 wxGTK UBSAN (push) Has been cancelled
Unix builds / Ubuntu 18.04 wxGTK 3 static with gcc 4.8 (push) Has been cancelled
Unix builds / Ubuntu 18.04 wxGTK 2 (push) Has been cancelled
CMake builds / Ubuntu 22.04 wxGTK 3 (push) Has been cancelled
CMake builds / macOS latest wxGTK 3 Unix Makefiles (push) Has been cancelled
CMake builds / MSW/MSVC wxMSW (push) Has been cancelled
CMake builds / MSW/Clang wxMSW (push) Has been cancelled
CMake builds / macOS latest wxOSX Ninja (push) Has been cancelled
CMake builds / macOS 14 wxOSX Xcode (push) Has been cancelled
CMake builds / macOS 14 wxIOS (push) Has been cancelled
CMake builds / MSW/MSVC wxQt 5.15 (push) Has been cancelled
CMake builds / MSW/MSVC wxQt 6.10 (push) Has been cancelled
Mac builds / wxMac ARM ASAN not compatible (push) Has been cancelled
Mac builds / wxMac Universal C++14 (push) Has been cancelled
Mac builds / wxiOS Simulator on Silicon Mac (push) Has been cancelled
Mac builds / wxiOS (push) Has been cancelled
Mac builds / wxMac Intel C++17 (push) Has been cancelled
Mac Xcode builds / iOS Simulator static (push) Has been cancelled
Mac Xcode builds / macOS dynamic Release (push) Has been cancelled
Mac Xcode builds / iOS static Debug (push) Has been cancelled
MSW builds / wxMSW vs2022 DLL Debug x64 (push) Has been cancelled
MSW builds / wxMSW vs2022 DLL Release x64 (push) Has been cancelled
MSW builds / wxMSW vs2022 Debug Win32 (push) Has been cancelled
MSW builds / wxMSW vs2022 Release arm64 (push) Has been cancelled
MSW builds / wxMSW vs2026 DLL Release x64 (push) Has been cancelled
MSW cross-builds / wxMSW 64 bits not compatible (push) Has been cancelled
MSW cross-builds / wxMSW/Univ (push) Has been cancelled
MSW cross-builds / wxMSW 32 bits (push) Has been cancelled
Code Checks / Check Spelling (push) Has been cancelled
Code Checks / Check Whitespace (push) Has been cancelled
Code Checks / Check Mixed EOL (push) Has been cancelled
Code Checks / Check C++ Style (push) Has been cancelled
Code Checks / Check All Headers In allheaders.h (push) Has been cancelled
Update Documentation / Update Online Documentation (push) Has been cancelled
No real changes, just use vector<> to avoid having to explicitly call
free().
2026-06-23 20:01:45 +02:00
dxbjavidandVadim Zeitlin c77b7ebd2a Fix potentially using uninitialised data in PCX image handler
Reject truncated reads to avoid uninitialised data.

Closes #26624.
2026-06-23 20:00:54 +02:00
Blake-MaddenandVadim Zeitlin b3dea2e64d Don't write unnecessary auto render value to SVG output
Also avoid extra spaces in the output if the attribute value is empty
and so the attribute is not specified.

Closes #26620.
2026-06-23 19:50:44 +02:00
Blake-MaddenandVadim Zeitlin bf46cc25d7 Fix typo in wxWebView documentation
Closes #26619.
2026-06-23 19:30:15 +02:00
Vadim Zeitlin aeb11b8b7f Fix recently broken min size computation on DPI change
Use fitting window size, not client size, which was wrongly used in
8386a98409 (Restrict the new size after DPI change to the display size,
2026-06-16).

See #26604.
2026-06-23 19:29:16 +02:00
Vadim Zeitlin 0a6b26ea43 Merge branch 'msw-button-fg-col'
Unix builds / Ubuntu 18.04 wxGTK 3 compatible 3.0 (push) Has been cancelled
Unix builds / Ubuntu 24.04 wxGTK ASAN not compatible (push) Has been cancelled
Unix builds / Ubuntu 18.04 wxGTK UTF-8 (push) Has been cancelled
Unix builds / Ubuntu 18.04 wxQt (push) Has been cancelled
Unix builds / Ubuntu 18.04 wxX11 (push) Has been cancelled
Unix builds / Ubuntu 20.04 wxGTK 3 with clang (push) Has been cancelled
Unix builds / Ubuntu 22.04 wxGTK with wx containers (push) Has been cancelled
Unix builds / Ubuntu 18.04 wxDFB (push) Has been cancelled
Unix builds / Ubuntu 24.04 wxGTK UBSAN (push) Has been cancelled
Unix builds / Ubuntu 18.04 wxGTK 3 static with gcc 4.8 (push) Has been cancelled
Unix builds / Ubuntu 18.04 wxGTK 2 (push) Has been cancelled
CMake builds / Ubuntu 22.04 wxGTK 3 (push) Has been cancelled
CMake builds / macOS latest wxGTK 3 Unix Makefiles (push) Has been cancelled
CMake builds / MSW/MSVC wxMSW (push) Has been cancelled
CMake builds / MSW/Clang wxMSW (push) Has been cancelled
CMake builds / macOS latest wxOSX Ninja (push) Has been cancelled
CMake builds / macOS 14 wxOSX Xcode (push) Has been cancelled
CMake builds / macOS 14 wxIOS (push) Has been cancelled
CMake builds / MSW/MSVC wxQt 5.15 (push) Has been cancelled
CMake builds / MSW/MSVC wxQt 6.10 (push) Has been cancelled
Mac builds / wxMac ARM ASAN not compatible (push) Has been cancelled
Mac builds / wxMac Universal C++14 (push) Has been cancelled
Mac builds / wxiOS Simulator on Silicon Mac (push) Has been cancelled
Mac builds / wxiOS (push) Has been cancelled
Mac builds / wxMac Intel C++17 (push) Has been cancelled
Mac Xcode builds / iOS Simulator static (push) Has been cancelled
Mac Xcode builds / macOS dynamic Release (push) Has been cancelled
Mac Xcode builds / iOS static Debug (push) Has been cancelled
MSW builds / wxMSW vs2022 DLL Debug x64 (push) Has been cancelled
MSW builds / wxMSW vs2022 DLL Release x64 (push) Has been cancelled
MSW builds / wxMSW vs2022 Debug Win32 (push) Has been cancelled
MSW builds / wxMSW vs2022 Release arm64 (push) Has been cancelled
MSW builds / wxMSW vs2026 DLL Release x64 (push) Has been cancelled
MSW cross-builds / wxMSW 64 bits not compatible (push) Has been cancelled
MSW cross-builds / wxMSW/Univ (push) Has been cancelled
MSW cross-builds / wxMSW 32 bits (push) Has been cancelled
Code Checks / Check Spelling (push) Has been cancelled
Code Checks / Check Whitespace (push) Has been cancelled
Code Checks / Check Mixed EOL (push) Has been cancelled
Code Checks / Check C++ Style (push) Has been cancelled
Code Checks / Check All Headers In allheaders.h (push) Has been cancelled
Update Documentation / Update Online Documentation (push) Has been cancelled
Respect user-set button foreground colour in wxMSW.

See #26618.
2026-06-22 14:34:26 +02:00
Vadim Zeitlin 17e1af0a6b Merge branch 'msw-dpi-change-fixes'
Fixes for behaviour after DPI change in wxMSW.

Closes #26498.

See #26604.
2026-06-22 14:29:16 +02:00
Blake-MaddenandVadim Zeitlin e871f1a841 Add wxWebView::PrintToPDF()
Add a possibility to save the page as PDF, possibly with some
non-default print settings.

Closes #26583.
2026-06-21 18:51:38 +02:00
Vadim Zeitlin 52360028b9 Merge branch 'svggc-pen-brush' of github.com:MaartenBent/wxWidgets
Support pen and brush styles in wxSVGGraphicsContext.

See #26586.
2026-06-21 16:30:59 +02:00
Vadim Zeitlin e786a4c78e 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.
2026-06-21 16:21:54 +02:00
Jorge MoraledaandVadim Zeitlin e069b7f4b9 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.
2026-06-21 16:02:48 +02:00
paulcorandGitHub 0ec0518993 Avoid using very large wxDC origin offsets with wxGenericListCtrl
Unix builds / Ubuntu 18.04 wxGTK 3 compatible 3.0 (push) Has been cancelled
Unix builds / Ubuntu 24.04 wxGTK ASAN not compatible (push) Has been cancelled
Unix builds / Ubuntu 18.04 wxGTK UTF-8 (push) Has been cancelled
Unix builds / Ubuntu 18.04 wxQt (push) Has been cancelled
Unix builds / Ubuntu 18.04 wxX11 (push) Has been cancelled
Unix builds / Ubuntu 20.04 wxGTK 3 with clang (push) Has been cancelled
Unix builds / Ubuntu 22.04 wxGTK with wx containers (push) Has been cancelled
Unix builds / Ubuntu 18.04 wxDFB (push) Has been cancelled
Unix builds / Ubuntu 24.04 wxGTK UBSAN (push) Has been cancelled
Unix builds / Ubuntu 18.04 wxGTK 3 static with gcc 4.8 (push) Has been cancelled
Unix builds / Ubuntu 18.04 wxGTK 2 (push) Has been cancelled
CMake builds / Ubuntu 22.04 wxGTK 3 (push) Has been cancelled
CMake builds / macOS latest wxGTK 3 Unix Makefiles (push) Has been cancelled
CMake builds / MSW/MSVC wxMSW (push) Has been cancelled
CMake builds / MSW/Clang wxMSW (push) Has been cancelled
CMake builds / macOS latest wxOSX Ninja (push) Has been cancelled
CMake builds / macOS 14 wxOSX Xcode (push) Has been cancelled
CMake builds / macOS 14 wxIOS (push) Has been cancelled
CMake builds / MSW/MSVC wxQt 5.15 (push) Has been cancelled
CMake builds / MSW/MSVC wxQt 6.10 (push) Has been cancelled
Mac builds / wxMac ARM ASAN not compatible (push) Has been cancelled
Mac builds / wxMac Universal C++14 (push) Has been cancelled
Mac builds / wxiOS Simulator on Silicon Mac (push) Has been cancelled
Mac builds / wxiOS (push) Has been cancelled
Mac builds / wxMac Intel C++17 (push) Has been cancelled
Mac Xcode builds / iOS Simulator static (push) Has been cancelled
Mac Xcode builds / macOS dynamic Release (push) Has been cancelled
Mac Xcode builds / iOS static Debug (push) Has been cancelled
MSW builds / wxMSW vs2022 DLL Debug x64 (push) Has been cancelled
MSW builds / wxMSW vs2022 DLL Release x64 (push) Has been cancelled
MSW builds / wxMSW vs2022 Debug Win32 (push) Has been cancelled
MSW builds / wxMSW vs2022 Release arm64 (push) Has been cancelled
MSW builds / wxMSW vs2026 DLL Release x64 (push) Has been cancelled
MSW cross-builds / wxMSW 64 bits not compatible (push) Has been cancelled
MSW cross-builds / wxMSW/Univ (push) Has been cancelled
MSW cross-builds / wxMSW 32 bits (push) Has been cancelled
Code Checks / Check Spelling (push) Has been cancelled
Code Checks / Check Whitespace (push) Has been cancelled
Code Checks / Check Mixed EOL (push) Has been cancelled
Code Checks / Check C++ Style (push) Has been cancelled
Code Checks / Check All Headers In allheaders.h (push) Has been cancelled
Using the wxDC origin to implement scrolled drawing can require very large
origin offsets, which can exceed Cairo coordinate limits (2^23), and therefore
currently wxGTK3 limits as well. Managing the scroll offsets turns out to be
pretty simple in this case, avoiding any coordinate limitations.
See #25365
2026-06-20 10:48:01 -07:00
Vadim Zeitlin a5932c8af0 Revert "Force standard button foreground color when highlighted on MSW"
This reverts commit f3ab568a02 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.
2026-06-20 18:36:58 +02:00