100 Commits
Author SHA1 Message Date
Vadim Zeitlin 53428018e3 Merge branch 'RibbonFixes' of github.com:Blake-Madden/wxWidgets
Various ribbon fixes and improvements, notably don't use dangling or
null pointers.

See #26849.
2026-08-16 17:06:56 +02:00
Vadim Zeitlin 8ba29d6c12 Merge branch 'EdgeReview3' of github.com:Blake-Madden/wxWidgets
Fix/add null pointer checks in Edge WebView.

See #26843.
2026-08-16 15:51:49 +02:00
Vadim Zeitlin 5e81e9a19e Merge branch 'gen-tree-next-visible'
Fix regression in wxGenericTreeCtrl::GetNextVisible() and some cleanup.

See #26840.
2026-08-16 15:49:23 +02:00
Vadim Zeitlin 6e13216510 Remove unused code from wxGenericTreeCtrl::IsVisible()
There is no need to call GetViewStart() whose value we never use.
2026-08-15 20:57:27 +02:00
Vadim Zeitlin 04c70ccb82 Fix regression in wxGenericTreeCtrl::GetNextVisible()
This function could return an item which wasn't actually visible after
8ca1be38e2 (Add wxGenericTreeCtrl::DoGetNext(Next_Visible) function,
2023-11-08) due to a confusion about what "visible" meant, see the
parent commit.

Return the next item which is really visible on screen from this
function again.

See #24041.

Closes #26839.
2026-08-15 20:57:00 +02:00
Vadim Zeitlin c535a1400f Rename wxGenericTreeCtrl::Next_Visible flag to Next_Opened
8ca1be38e2 (Add wxGenericTreeCtrl::DoGetNext(Next_Visible) function,
2023-11-08) added this flag with a confusing name because it doesn't
mean the same thing here as in GetNextVisible(): here "visible" meant
just "in an expanded branch" and not necessarily "visible on screen".

Rename the flag to make it more clear what it means.

No real changes yet.
2026-08-15 20:43:41 +02:00
Vadim Zeitlin ea3a1572fd Merge branch 'EdgeFix' of github.com:Blake-Madden/wxWidgets
Fix some Edge WebView issues.

See #26832.
2026-08-14 21:36:31 +02:00
Vadim Zeitlin c943390fde Merge branch 'WebKitwxGtkObject' of github.com:Blake-Madden/wxWidgets
Fix string leaks in GTK WebKit2.

See #26830.
2026-08-14 21:35:26 +02:00
Vadim Zeitlin f1f21e9788 Merge branch 'darkmode-wxGauge2' of github.com:stevecor/wxWidgets
Fix wxGauge dark mode support in wxMSW.

See #26811.
2026-08-14 19:49:34 +02:00
Vadim Zeitlin 062f2e2e1c Merge branch 'develop' of github.com:LegalizeAdulthood/wxWidgets
Make the test suite more robust under Windows.

See #26668.
2026-08-14 19:44:31 +02:00
Vadim Zeitlin 96ea2557b1 Fix recently broken GUI tests compilation
The change of fe360d4d01 (Handle invalid wxColour better in unit test
assertions, 2026-08-06) resulted in compilation errors due to an
ambiguity between wxString to/from "char*" conversion, resolve it
explicitly to fix this.
2026-08-09 22:05:12 +02:00
Vadim Zeitlin 34cd61de21 Merge branch 'spaces-colour-names'
Accept spaces in colour names again.

See #26795.
2026-08-09 19:36:20 +02:00
Vadim Zeitlin 59f3ad31a7 Merge branch 'wayland-session-mgmt'
Add support for Wayland session management protocol and use it for
wxPersistentTLW if available.

See #26793.

Closes #26324.
2026-08-09 19:33:53 +02:00
Vadim Zeitlin 5d4fd7c99a Merge branch 'darkmode-wxGauge' of github.com:stevecor/wxWidgets
Implement dark mode support for wxGauge in wxMSW.

See #26796.
2026-08-09 19:07:09 +02:00
Vadim Zeitlin 0ee0312de0 Merge branch 'WebKitFileMemory' of github.com:Blake-Madden/wxWidgets
Fix leaking wxFSFile in WebKit-based wxWebView in wxGTK.

See #26802.
2026-08-09 18:38:21 +02:00
Vadim Zeitlin 4f4edab98b Detect XDG session management protocol support in CMake too
Unlike in configure, only check for it when using (not yet released) GTK
3.24.53 or later, it's not worth complicating things to check for the
versions of 3.24.52 where gdk_wayland_window_get_xdg_toplevel() is
already present (which had to do done in configure to allow testing the
code using it).
2026-08-07 21:53:47 +02:00
Vadim Zeitlin a61b4733b6 Add reusable wx_generate_wayland_protocol() CMake function
Use it for the only Wayland protocol file used so far.

Also combine the commands which can run concurrently into a single
execute_process() call as it looks like it could be more efficient (and
it's definitely less verbose).
2026-08-06 22:57:25 +02:00
Vadim Zeitlin c95ec21feb Allow using spaces in named colours names again
After the changes of 55be0ed986 (Stop using GDK functions for parsing
colours names, 2024-12-16) we didn't find non-legacy named colours with
spaces in their names any longer, as we matched the name exactly (except
for the case) but the new colour names don't always use spaces.

Fix this by allowing to use spaces anywhere in the colour name and just
stripping all of them before looking the colour up.

Closes #26782.
2026-08-06 22:24:44 +02:00
Vadim Zeitlin fe360d4d01 Handle invalid wxColour better in unit test assertions
Show invalid colour as "invalid" instead of "" and don't trigger a wx
assertion when comparing with it.
2026-08-06 22:15:55 +02:00
Vadim Zeitlin 8d8967a29a Merge branch 'ipc-tcp'
Fix multiple issues in IPC using TCP sockets.

This is a substantial rewrite of the old code which brings improved
error detection, MT-safety and many other fixes.

There is also a much better test suite exercising this code now.

See #24858.
2026-08-06 22:01:13 +02:00
Vadim Zeitlin 43824ccb33 Don't use separate timeout for sanitizer builds in IPC tests
Keep the code simpler, we shouldn't need to wait for 2 minutes anyhow.
2026-08-06 21:59:35 +02:00
Vadim Zeitlin d40c6dbc9f Work around gcc 4.8 bug after changes of last commit
Change GetAddressFromName() to always return "addr" at the end.

This is done just to work around a bug in gcc 4.8 which complains about
the control reaching the end of non-void function otherwise.
2026-08-06 21:59:35 +02:00
Vadim Zeitlin ab5aa8045d Stop using manual memory management for wxSockAddress
Use unique_ptr<wxSockAddress> instead of allocating and deleting these
objects manually, this is simpler and less error-prone.

No real changes.
2026-08-06 21:59:35 +02:00
Vadim Zeitlin aecd1dc282 Style fixes to TCP IPC code
Use camelCase naming convention, reformat some code.
2026-08-06 21:59:35 +02:00
Vadim Zeitlin b9676176ff Avoid dynamic casts from the type to itself
This is confusing at best, perform real dynamic casts from base class
pointer to the derived one.
2026-08-06 21:59:35 +02:00
Vadim Zeitlin da2dcc4636 Modernize the code to use C++11 constexpr and ranged-for
Prefer constexpr to macros and ranged-for to index-based loops.
2026-08-06 21:59:35 +02:00
Vadim Zeitlin c0b25d7e86 Remove code for unsupported wxUSE_UNICODE==0 build
Leave only wxUSE_UNICODE branch and simplify UTF-8 conversions.
2026-08-06 21:59:34 +02:00
Vadim Zeitlin 8b70724c6a Replace wxASSERT_MSG with subsequent test with wxCHECK_MSG
This is a more idiomatic way of checking for precondition.
2026-08-06 21:59:34 +02:00
Vadim Zeitlin 33321e42f8 Remove unnecessary wxIPCMessageBase dtor definition
Virtual dtor is inherited from the base wxObject class anyhow.
2026-08-06 21:59:34 +02:00
Vadim Zeitlin 40ad80f29e Use std::unordered_set instead of set when order doesn't matter
This container is preferred unless we really need the set to be ordered
which is not the case here.
2026-08-06 21:59:34 +02:00
Vadim Zeitlin e636713658 Let compiler generate wxTCPServer ctor
There is no need to define it manually, leaving it as default is shorter
and more clear.
2026-08-06 21:59:34 +02:00
Vadim Zeitlin f17abe5883 Use <define> instead of <cxxflags> in the test bakefile
Prefer using more specialized tag.

Regenerate the affected files.
2026-08-06 21:59:34 +02:00
Vadim Zeitlin 25a1baa87c Don't show test information when running it as IPC server
This avoids logging it many times during the full test suite run which
was unnecessary and confusing.
2026-08-06 21:59:34 +02:00
Vadim Zeitlin 9c1b1b1ea9 Extract showing information about the test in a separate function
No real changes, just factor out the function for showing information
about the test and its execution environment.
2026-08-06 21:59:34 +02:00
Vadim Zeitlin 975523516c Simplify checks for using the test in "IPC server" mode
Don't duplicate the complex preprocessor check multiple times, just
define wxHAS_TEST_IPC_SERVER once and check for it.

Also define the helper ShouldRunTestIPCServer() function which is more
clear than using wxGetEnv() explicitly.

No real changes.
2026-08-06 21:59:34 +02:00
Vadim Zeitlin a37d42c80e Remove documentation of non-existent wxPanel::OnSysColourChanged()
This function seems to have never existed in wxPanel and was removed
from its base wxWindow class in 74ea434841 (Add a function to perform
internal processing of wxSysColourChangedEvent, 2026-07-28).

Closes #26791.
2026-08-06 20:10:33 +02:00
Vadim Zeitlin 84ca3b7b5b Install wayland-protocols-devel for Fedora CI builds
This is needed by the code in this branch.
2026-08-06 20:08:30 +02:00
Vadim Zeitlin 4d0e5449df Add support for Wayland XDG session management to wxPersistentTLW
When Wayland session management protocol is available, use it to save
and restore the ID of the session used to save the window geometry by
the compositor.

This relies on a new, so far private, SetWaylandXDGSessionId() function
in wxTopLevelWindow, which can be used to indicate that the TLW should
be part of the application session and so its geometry should be saved
by the compositor.

wxPersistentTLW has been modified to call this function when used on a
system with XDG session management protocol support which, in turn,
required adding SaveString() and RestoreString() to GeometryStore.
2026-08-06 19:23:27 +02:00
Vadim Zeitlin f4b679a3d4 Detect Wayland session management protocol in configure
We need a very recent GTK with gdk_wayland_window_get_xdg_toplevel() to
be able to use this protocol.

Note that we don't actually do anything if the support is detected yet.
But we will soon.
2026-08-06 18:40:49 +02:00
Vadim Zeitlin e68720e2b5 Retry apt-get commands when using Ubuntu servers
Unix builds / Ubuntu 24.04 wxGTK ASAN not compatible (push) Canceled after 0s
Unix builds / Ubuntu 26.04 wxGTK UTF-8 (push) Canceled after 0s
Unix builds / Ubuntu 26.04 wxQt (push) Canceled after 0s
Unix builds / Ubuntu 26.04 wxX11 (push) Canceled after 0s
Unix builds / Ubuntu 26.04 wxGTK 2 (push) Canceled after 0s
Unix builds / Ubuntu 20.04 wxGTK 3 with clang (push) Canceled after 0s
Unix builds / Ubuntu 20.04 wxGTK gcc 7 static compatible 3.0 (push) Canceled after 0s
Unix builds / Ubuntu 22.04 wxGTK with wx containers (push) Canceled after 0s
Unix builds / Ubuntu 24.04 wxDFB (push) Canceled after 0s
Unix builds / Ubuntu 24.04 wxGTK UBSAN (push) Canceled after 0s
CMake builds / Ubuntu 22.04 wxGTK 3 (push) Canceled after 0s
CMake builds / macOS latest wxGTK 3 Unix Makefiles (push) Canceled after 0s
CMake builds / MSW/MSVC wxMSW (push) Canceled after 0s
CMake builds / MSW/Clang wxMSW (push) Canceled after 0s
CMake builds / macOS latest wxOSX Ninja (push) Canceled after 0s
CMake builds / macOS 14 wxOSX Xcode (push) Canceled after 0s
CMake builds / macOS 14 wxIOS (push) Canceled after 0s
CMake builds / MSW/MSVC wxQt 5.15 (push) Canceled after 0s
CMake builds / MSW/MSVC wxQt 6.10 (push) Canceled after 0s
Mac builds / wxMac ARM ASAN not compatible (push) Canceled after 0s
Mac builds / wxMac Universal C++14 (push) Canceled after 0s
Mac builds / wxiOS Simulator on Silicon Mac (push) Canceled after 0s
Mac builds / wxiOS (push) Canceled after 0s
Mac builds / wxMac Intel C++17 (push) Canceled after 0s
Mac Xcode builds / iOS Simulator static (push) Canceled after 0s
Mac Xcode builds / macOS dynamic Release (push) Canceled after 0s
Mac Xcode builds / iOS static Debug (push) Canceled after 0s
MSW builds / wxMSW vs2022 DLL Debug x64 (push) Canceled after 0s
MSW builds / wxMSW vs2022 DLL Release x64 (push) Canceled after 0s
MSW builds / wxMSW vs2022 Debug Win32 (push) Canceled after 0s
MSW builds / wxMSW vs2022 Release arm64 (push) Canceled after 0s
MSW builds / wxMSW vs2026 DLL Release x64 (push) Canceled after 0s
MSW cross-builds / wxMSW 64 bits not compatible (push) Canceled after 0s
MSW cross-builds / wxMSW/Univ (push) Canceled after 0s
MSW cross-builds / wxMSW 32 bits (push) Canceled after 0s
Code Checks / Check Spelling (push) Canceled after 0s
Code Checks / Check Whitespace (push) Canceled after 0s
Code Checks / Check Mixed EOL (push) Canceled after 0s
Code Checks / Check C++ Style (push) Canceled after 0s
Code Checks / Check All Headers In allheaders.h (push) Canceled after 0s
Update Documentation / Update Online Documentation (push) Canceled after 0s
They still fail, even when using versions later than 18.04, but the
failure is usually temporary, so try them several times.
2026-08-04 20:17:37 +02:00
Vadim Zeitlin d13fad4371 Prefer calling wxMSW dark mode support "unofficial"
It's not "experimental" any longer, but we still want to make it clear
that this isn't supported as well as standard mode.

Closes #26752.
2026-08-04 18:40:42 +02:00
Vadim Zeitlin f7f534cd13 Merge branch 'sdl3' of github.com:MaartenBent/wxWidgets
Unix builds / Ubuntu 24.04 wxGTK ASAN not compatible (push) Canceled after 0s
Unix builds / Ubuntu 26.04 wxGTK UTF-8 (push) Canceled after 0s
Unix builds / Ubuntu 26.04 wxQt (push) Canceled after 0s
Unix builds / Ubuntu 26.04 wxX11 (push) Canceled after 0s
Unix builds / Ubuntu 26.04 wxGTK 2 (push) Canceled after 0s
Unix builds / Ubuntu 20.04 wxGTK 3 with clang (push) Canceled after 0s
Unix builds / Ubuntu 20.04 wxGTK gcc 7 static compatible 3.0 (push) Canceled after 0s
Unix builds / Ubuntu 22.04 wxGTK with wx containers (push) Canceled after 0s
Unix builds / Ubuntu 24.04 wxDFB (push) Canceled after 0s
Unix builds / Ubuntu 24.04 wxGTK UBSAN (push) Canceled after 0s
CMake builds / Ubuntu 22.04 wxGTK 3 (push) Canceled after 0s
CMake builds / macOS latest wxGTK 3 Unix Makefiles (push) Canceled after 0s
CMake builds / MSW/MSVC wxMSW (push) Canceled after 0s
CMake builds / MSW/Clang wxMSW (push) Canceled after 0s
CMake builds / macOS latest wxOSX Ninja (push) Canceled after 0s
CMake builds / macOS 14 wxOSX Xcode (push) Canceled after 0s
CMake builds / macOS 14 wxIOS (push) Canceled after 0s
CMake builds / MSW/MSVC wxQt 5.15 (push) Canceled after 0s
CMake builds / MSW/MSVC wxQt 6.10 (push) Canceled after 0s
Mac builds / wxMac ARM ASAN not compatible (push) Canceled after 0s
Mac builds / wxMac Universal C++14 (push) Canceled after 0s
Mac builds / wxiOS Simulator on Silicon Mac (push) Canceled after 0s
Mac builds / wxiOS (push) Canceled after 0s
Mac builds / wxMac Intel C++17 (push) Canceled after 0s
Mac Xcode builds / iOS Simulator static (push) Canceled after 0s
Mac Xcode builds / macOS dynamic Release (push) Canceled after 0s
Mac Xcode builds / iOS static Debug (push) Canceled after 0s
MSW builds / wxMSW vs2022 DLL Debug x64 (push) Canceled after 0s
MSW builds / wxMSW vs2022 DLL Release x64 (push) Canceled after 0s
MSW builds / wxMSW vs2022 Debug Win32 (push) Canceled after 0s
MSW builds / wxMSW vs2022 Release arm64 (push) Canceled after 0s
MSW builds / wxMSW vs2026 DLL Release x64 (push) Canceled after 0s
MSW cross-builds / wxMSW 64 bits not compatible (push) Canceled after 0s
MSW cross-builds / wxMSW/Univ (push) Canceled after 0s
MSW cross-builds / wxMSW 32 bits (push) Canceled after 0s
Code Checks / Check Spelling (push) Canceled after 0s
Code Checks / Check Whitespace (push) Canceled after 0s
Code Checks / Check Mixed EOL (push) Canceled after 0s
Code Checks / Check C++ Style (push) Canceled after 0s
Code Checks / Check All Headers In allheaders.h (push) Canceled after 0s
Update Documentation / Update Online Documentation (push) Canceled after 0s
Add SDL3 support and fix Wayland build issue.

See #26435, #26773.
2026-08-02 21:38:14 +02:00
Vadim Zeitlin adde4275d5 Merge branch 'ci-stop-using-ubuntu-18.04'
Unix builds / Ubuntu 24.04 wxGTK ASAN not compatible (push) Canceled after 0s
Unix builds / Ubuntu 26.04 wxGTK UTF-8 (push) Canceled after 0s
Unix builds / Ubuntu 26.04 wxQt (push) Canceled after 0s
Unix builds / Ubuntu 26.04 wxX11 (push) Canceled after 0s
Unix builds / Ubuntu 26.04 wxGTK 2 (push) Canceled after 0s
Unix builds / Ubuntu 20.04 wxGTK 3 with clang (push) Canceled after 0s
Unix builds / Ubuntu 20.04 wxGTK gcc 7 static compatible 3.0 (push) Canceled after 0s
Unix builds / Ubuntu 22.04 wxGTK with wx containers (push) Canceled after 0s
Unix builds / Ubuntu 24.04 wxDFB (push) Canceled after 0s
Unix builds / Ubuntu 24.04 wxGTK UBSAN (push) Canceled after 0s
CMake builds / Ubuntu 22.04 wxGTK 3 (push) Canceled after 0s
CMake builds / macOS latest wxGTK 3 Unix Makefiles (push) Canceled after 0s
CMake builds / MSW/MSVC wxMSW (push) Canceled after 0s
CMake builds / MSW/Clang wxMSW (push) Canceled after 0s
CMake builds / macOS latest wxOSX Ninja (push) Canceled after 0s
CMake builds / macOS 14 wxOSX Xcode (push) Canceled after 0s
CMake builds / macOS 14 wxIOS (push) Canceled after 0s
CMake builds / MSW/MSVC wxQt 5.15 (push) Canceled after 0s
CMake builds / MSW/MSVC wxQt 6.10 (push) Canceled after 0s
Mac builds / wxMac ARM ASAN not compatible (push) Canceled after 0s
Mac builds / wxMac Universal C++14 (push) Canceled after 0s
Mac builds / wxiOS Simulator on Silicon Mac (push) Canceled after 0s
Mac builds / wxiOS (push) Canceled after 0s
Mac builds / wxMac Intel C++17 (push) Canceled after 0s
Mac Xcode builds / iOS Simulator static (push) Canceled after 0s
Mac Xcode builds / macOS dynamic Release (push) Canceled after 0s
Mac Xcode builds / iOS static Debug (push) Canceled after 0s
MSW builds / wxMSW vs2022 DLL Debug x64 (push) Canceled after 0s
MSW builds / wxMSW vs2022 DLL Release x64 (push) Canceled after 0s
MSW builds / wxMSW vs2022 Debug Win32 (push) Canceled after 0s
MSW builds / wxMSW vs2022 Release arm64 (push) Canceled after 0s
MSW builds / wxMSW vs2026 DLL Release x64 (push) Canceled after 0s
MSW cross-builds / wxMSW 64 bits not compatible (push) Canceled after 0s
MSW cross-builds / wxMSW/Univ (push) Canceled after 0s
MSW cross-builds / wxMSW 32 bits (push) Canceled after 0s
Code Checks / Check Spelling (push) Canceled after 0s
Code Checks / Check Whitespace (push) Canceled after 0s
Code Checks / Check Mixed EOL (push) Canceled after 0s
Code Checks / Check C++ Style (push) Canceled after 0s
Code Checks / Check All Headers In allheaders.h (push) Canceled after 0s
Update Documentation / Update Online Documentation (push) Canceled after 0s
Don't use Ubuntu 18.04 and its flaky PPAs for the CI builds any more.

See #26758.
2026-08-01 14:04:35 +02:00
Vadim Zeitlin 2782377d4f Switch Ubuntu 18.04 CI builds to newer Ubuntu versions
Don't use the old Ubuntu version, Ubuntu PPAs are simply too flaky to be
used.

Use the latest available Ubuntu image (26.04) for all builds except
wxDFB as libdirectfb-dev package is not available in this Ubuntu version
any longer, so use 24.04 for this job.

Remove special handling of Ubuntu 18.04 which is not needed any more.
2026-07-31 12:48:12 +02:00
Vadim Zeitlin 49ded50540 Fix sorted wxListBox unit test in wxQt under Unix
Comparison doesn't seem to use locale-specific rules by default there,
so limit the changes of 09c22b080e (Fix listboxtest test failing under
wxQt, 2023-10-08) to Windows and check for the actually observed order
under Unix.

Closes #26759.
2026-07-31 12:45:42 +02:00
Vadim Zeitlin 8b6f8097cf Use base class IsCurrent() in wxUniv wxVListBox
Just make the base class function accessible in this class scope, this
is better than redefining it and doesn't result in a -Wsuggest-override.
2026-07-31 12:45:42 +02:00
Vadim Zeitlin af93e02b18 Add missing "override" to wxGLApp::GetXVisualInfo()
This avoids gcc -Wsuggest-override for it.

Always define GetXVisualInfo() in wxGTK wxApp, even for GTK 3, to ensure
that this virtual function can be overridden in wxGLApp: this is simpler
than overriding it only conditionally there.
2026-07-31 12:45:02 +02:00
Vadim Zeitlin dfa456f17d Turn off gcc -Wsuggest-override for wxDFB headers
There are too many of them and it's probably not worth spending time on
fixing them in this not really used port.
2026-07-31 12:45:02 +02:00
Vadim Zeitlin 8327d92835 Add missing "override" to wxX11 and common headers used by wxUniv
Avoid -Wsuggest-override from gcc.
2026-07-31 12:45:02 +02:00
Vadim Zeitlin c14b35cafd Make wxWindow::KillFocus() private and non-virtual in wxX11
This is not an overridden base class member function, contrary to what
the comment stated.
2026-07-31 12:45:02 +02:00
Vadim Zeitlin 5e8c5e65d3 Merge branch 'ribbon-colours'
Fix white pressed-button text becoming illegible in dark ribbon themes.

See #26741.
2026-07-30 19:26:19 +02:00
Vadim Zeitlin 09d9aeacaa Remove implicit conversion of wxColour to GdkRGBA* in wxGTK
This was dangerous because it allowed the code accidentally
dereferencing wxColour to silently compile -- and do a completely wrong
thing.

Just add a function returning GdkRGBA explicitly and use it.

See #26751.
2026-07-30 18:59:47 +02:00
Vadim Zeitlin 4f31802694 Use SHA-256 checksums for the release files instead of SHA-1 ones
GitHub automatically computes and shows SHA-256 checksums on the
download page, making verifying them more convenient than SHA-1 ones.

SHA-1 is also generally considered insecure nowadays.

See #26744.
2026-07-29 20:14:18 +02:00
Vadim Zeitlin 75a9282598 Fix typo in wxGetContrastingFgColour()
The code dereferencing wxColour wrongly compiled when using wxGTK due to
the existence of operator*() there.
2026-07-29 19:47:29 +02:00
Vadim Zeitlin c4fe911d19 Link to the current WCAG21 instead of the old 2008 version
Also update the coefficient in wxGetSRGB() to use the correct value,
quoting the linked document:

	Note 2

	Before May 2021 the value of 0.04045 in the definition was
	different (0.03928). It was taken from an older version of the
	specification and has been updated. It has no practical effect
	on the calculations in the context of these guidelines.
2026-07-29 19:36:29 +02:00
Vadim Zeitlin 08ae56c96d Extract colour-related functions to a reusable header
Don't duplicate the same code using different names in wxAUI and
wxRibbon, put it in a header which can be included from both.

No real changes, this is a pure refactoring.
2026-07-29 19:33:42 +02:00
Vadim Zeitlin 0268bc21d1 Update all actions versions in "Create Release" workflow
Unix builds / Ubuntu 18.04 wxGTK 3 compatible 3.0 (push) Canceled after 0s
Unix builds / Ubuntu 24.04 wxGTK ASAN not compatible (push) Canceled after 0s
Unix builds / Ubuntu 18.04 wxGTK UTF-8 (push) Canceled after 0s
Unix builds / Ubuntu 18.04 wxQt (push) Canceled after 0s
Unix builds / Ubuntu 18.04 wxX11 (push) Canceled after 0s
Unix builds / Ubuntu 20.04 wxGTK 3 with clang (push) Canceled after 0s
Unix builds / Ubuntu 22.04 wxGTK with wx containers (push) Canceled after 0s
Unix builds / Ubuntu 18.04 wxDFB (push) Canceled after 0s
Unix builds / Ubuntu 24.04 wxGTK UBSAN (push) Canceled after 0s
Unix builds / Ubuntu 18.04 wxGTK 3 static with gcc 4.8 (push) Canceled after 0s
Unix builds / Ubuntu 18.04 wxGTK 2 (push) Canceled after 0s
CMake builds / Ubuntu 22.04 wxGTK 3 (push) Canceled after 0s
CMake builds / macOS latest wxGTK 3 Unix Makefiles (push) Canceled after 0s
CMake builds / MSW/MSVC wxMSW (push) Canceled after 0s
CMake builds / MSW/Clang wxMSW (push) Canceled after 0s
CMake builds / macOS latest wxOSX Ninja (push) Canceled after 0s
CMake builds / macOS 14 wxOSX Xcode (push) Canceled after 0s
CMake builds / macOS 14 wxIOS (push) Canceled after 0s
CMake builds / MSW/MSVC wxQt 5.15 (push) Canceled after 0s
CMake builds / MSW/MSVC wxQt 6.10 (push) Canceled after 0s
Mac builds / wxMac ARM ASAN not compatible (push) Canceled after 0s
Mac builds / wxMac Universal C++14 (push) Canceled after 0s
Mac builds / wxiOS Simulator on Silicon Mac (push) Canceled after 0s
Mac builds / wxiOS (push) Canceled after 0s
Mac builds / wxMac Intel C++17 (push) Canceled after 0s
Mac Xcode builds / iOS Simulator static (push) Canceled after 0s
Mac Xcode builds / macOS dynamic Release (push) Canceled after 0s
Mac Xcode builds / iOS static Debug (push) Canceled after 0s
MSW builds / wxMSW vs2022 DLL Debug x64 (push) Canceled after 0s
MSW builds / wxMSW vs2022 DLL Release x64 (push) Canceled after 0s
MSW builds / wxMSW vs2022 Debug Win32 (push) Canceled after 0s
MSW builds / wxMSW vs2022 Release arm64 (push) Canceled after 0s
MSW builds / wxMSW vs2026 DLL Release x64 (push) Canceled after 0s
MSW cross-builds / wxMSW 64 bits not compatible (push) Canceled after 0s
MSW cross-builds / wxMSW/Univ (push) Canceled after 0s
MSW cross-builds / wxMSW 32 bits (push) Canceled after 0s
Code Checks / Check Spelling (push) Canceled after 0s
Code Checks / Check Whitespace (push) Canceled after 0s
Code Checks / Check Mixed EOL (push) Canceled after 0s
Code Checks / Check C++ Style (push) Canceled after 0s
Code Checks / Check All Headers In allheaders.h (push) Canceled after 0s
Update Documentation / Update Online Documentation (push) Canceled after 0s
Use the newest versions of all actions used here.
2026-07-26 13:59:37 +02:00
Vadim Zeitlin 949a4f9fab Merge branch 'fix-doxygen-custom-html'
Fix errors in HTML generated by Doxygen.

See #26714.

Closes #26716, #26718.
2026-07-26 13:58:16 +02:00
Vadim Zeitlin 965bc69900 Show scroll buttons in wxAuiNotebook when they're needed
The check for whether these buttons are needed incorrectly compared the
width required by tabs with the total rectangle width, but it needs to
compare it with the width actually available for the tabs, which can be
smaller if other buttons are shown.

Closes #26738.
2026-07-25 17:24:29 +02:00
Vadim Zeitlin c831744802 Make wxApp::MSWEnableDarkMode() first parameter an enum
It was int because the initial plan was to add other flags that could be
combined with the existing ones, but now that there are 3 possible
values combining the elements of this enum doesn't really make sense any
more.
2026-07-24 23:38:15 +02:00
Vadim Zeitlin e7b0508792 Prefer to test for X11_FOUND rather than its opposite
No real changes, just make the test added in the parent commit a bit
more readable.

See #26733.
2026-07-24 17:29:31 +02:00
Vadim Zeitlin 342418a1af Skip Window::ContextHelpCaptureLost test in Mac CI workflows
Unix builds / Ubuntu 18.04 wxGTK 3 compatible 3.0 (push) Canceled after 0s
Unix builds / Ubuntu 24.04 wxGTK ASAN not compatible (push) Canceled after 0s
Unix builds / Ubuntu 18.04 wxGTK UTF-8 (push) Canceled after 0s
Unix builds / Ubuntu 18.04 wxQt (push) Canceled after 0s
Unix builds / Ubuntu 18.04 wxX11 (push) Canceled after 0s
Unix builds / Ubuntu 20.04 wxGTK 3 with clang (push) Canceled after 0s
Unix builds / Ubuntu 22.04 wxGTK with wx containers (push) Canceled after 0s
Unix builds / Ubuntu 18.04 wxDFB (push) Canceled after 0s
Unix builds / Ubuntu 24.04 wxGTK UBSAN (push) Canceled after 0s
Unix builds / Ubuntu 18.04 wxGTK 3 static with gcc 4.8 (push) Canceled after 0s
Unix builds / Ubuntu 18.04 wxGTK 2 (push) Canceled after 0s
CMake builds / Ubuntu 22.04 wxGTK 3 (push) Canceled after 0s
CMake builds / macOS latest wxGTK 3 Unix Makefiles (push) Canceled after 0s
CMake builds / MSW/MSVC wxMSW (push) Canceled after 0s
CMake builds / MSW/Clang wxMSW (push) Canceled after 0s
CMake builds / macOS latest wxOSX Ninja (push) Canceled after 0s
CMake builds / macOS 14 wxOSX Xcode (push) Canceled after 0s
CMake builds / macOS 14 wxIOS (push) Canceled after 0s
CMake builds / MSW/MSVC wxQt 5.15 (push) Canceled after 0s
CMake builds / MSW/MSVC wxQt 6.10 (push) Canceled after 0s
Mac builds / wxMac ARM ASAN not compatible (push) Canceled after 0s
Mac builds / wxMac Universal C++14 (push) Canceled after 0s
Mac builds / wxiOS Simulator on Silicon Mac (push) Canceled after 0s
Mac builds / wxiOS (push) Canceled after 0s
Mac builds / wxMac Intel C++17 (push) Canceled after 0s
Mac Xcode builds / iOS Simulator static (push) Canceled after 0s
Mac Xcode builds / macOS dynamic Release (push) Canceled after 0s
Mac Xcode builds / iOS static Debug (push) Canceled after 0s
MSW builds / wxMSW vs2022 DLL Debug x64 (push) Canceled after 0s
MSW builds / wxMSW vs2022 DLL Release x64 (push) Canceled after 0s
MSW builds / wxMSW vs2022 Debug Win32 (push) Canceled after 0s
MSW builds / wxMSW vs2022 Release arm64 (push) Canceled after 0s
MSW builds / wxMSW vs2026 DLL Release x64 (push) Canceled after 0s
MSW cross-builds / wxMSW 64 bits not compatible (push) Canceled after 0s
MSW cross-builds / wxMSW/Univ (push) Canceled after 0s
MSW cross-builds / wxMSW 32 bits (push) Canceled after 0s
Code Checks / Check Spelling (push) Canceled after 0s
Code Checks / Check Whitespace (push) Canceled after 0s
Code Checks / Check Mixed EOL (push) Canceled after 0s
Code Checks / Check C++ Style (push) Canceled after 0s
Code Checks / Check All Headers In allheaders.h (push) Canceled after 0s
All attempts to make it pass reliably failed, the changes of 95a47a88a9
(Make Window::Refresh test more robust under Mac, 2026-07-23) fixed it
in one Mac workflow but somehow not the other.

Just disable it to let the test suite pass again.

See #26726, #26674.
2026-07-24 13:56:38 +02:00
Vadim Zeitlin 8003fd68a4 Fix Window::Refresh unit test under wxGTK now
Unix builds / Ubuntu 18.04 wxGTK 3 compatible 3.0 (push) Canceled after 0s
Unix builds / Ubuntu 24.04 wxGTK ASAN not compatible (push) Canceled after 0s
Unix builds / Ubuntu 18.04 wxGTK UTF-8 (push) Canceled after 0s
Unix builds / Ubuntu 18.04 wxQt (push) Canceled after 0s
Unix builds / Ubuntu 18.04 wxX11 (push) Canceled after 0s
Unix builds / Ubuntu 20.04 wxGTK 3 with clang (push) Canceled after 0s
Unix builds / Ubuntu 22.04 wxGTK with wx containers (push) Canceled after 0s
Unix builds / Ubuntu 18.04 wxDFB (push) Canceled after 0s
Unix builds / Ubuntu 24.04 wxGTK UBSAN (push) Canceled after 0s
Unix builds / Ubuntu 18.04 wxGTK 3 static with gcc 4.8 (push) Canceled after 0s
Unix builds / Ubuntu 18.04 wxGTK 2 (push) Canceled after 0s
CMake builds / Ubuntu 22.04 wxGTK 3 (push) Canceled after 0s
CMake builds / macOS latest wxGTK 3 Unix Makefiles (push) Canceled after 0s
CMake builds / MSW/MSVC wxMSW (push) Canceled after 0s
CMake builds / MSW/Clang wxMSW (push) Canceled after 0s
CMake builds / macOS latest wxOSX Ninja (push) Canceled after 0s
CMake builds / macOS 14 wxOSX Xcode (push) Canceled after 0s
CMake builds / macOS 14 wxIOS (push) Canceled after 0s
CMake builds / MSW/MSVC wxQt 5.15 (push) Canceled after 0s
CMake builds / MSW/MSVC wxQt 6.10 (push) Canceled after 0s
Mac builds / wxMac ARM ASAN not compatible (push) Canceled after 0s
Mac builds / wxMac Universal C++14 (push) Canceled after 0s
Mac builds / wxiOS Simulator on Silicon Mac (push) Canceled after 0s
Mac builds / wxiOS (push) Canceled after 0s
Mac builds / wxMac Intel C++17 (push) Canceled after 0s
Mac Xcode builds / iOS Simulator static (push) Canceled after 0s
Mac Xcode builds / macOS dynamic Release (push) Canceled after 0s
Mac Xcode builds / iOS static Debug (push) Canceled after 0s
MSW builds / wxMSW vs2022 DLL Debug x64 (push) Canceled after 0s
MSW builds / wxMSW vs2022 DLL Release x64 (push) Canceled after 0s
MSW builds / wxMSW vs2022 Debug Win32 (push) Canceled after 0s
MSW builds / wxMSW vs2022 Release arm64 (push) Canceled after 0s
MSW builds / wxMSW vs2026 DLL Release x64 (push) Canceled after 0s
MSW cross-builds / wxMSW 64 bits not compatible (push) Canceled after 0s
MSW cross-builds / wxMSW/Univ (push) Canceled after 0s
MSW cross-builds / wxMSW 32 bits (push) Canceled after 0s
Code Checks / Check Spelling (push) Canceled after 0s
Code Checks / Check Whitespace (push) Canceled after 0s
Code Checks / Check Mixed EOL (push) Canceled after 0s
Code Checks / Check C++ Style (push) Canceled after 0s
Code Checks / Check All Headers In allheaders.h (push) Canceled after 0s
This was broken by 95a47a88a9 (Make Window::Refresh test more robust
under Mac, 2026-07-23).
2026-07-24 01:16:13 +02:00
Vadim Zeitlin 95a47a88a9 Make Window::Refresh test more robust under Mac
Fix CI test failure which started happening in this test after the
addition of Window::ContextHelpCaptureLost in e04e3260fc (Handle
context-help mouse capture loss, 2026-07-08) because the child window
that was not supposed to be repainted still was, as the entire window
needed a refresh.

Refresh and update it before starting the test to make it pass again
reliably.

See #26726.
2026-07-23 23:44:12 +02:00
Vadim Zeitlin 6699441ba2 Fix invalid HTML generated by Doxygen for "@c" inside "@itemdef"
This results in <span><code>...</span></code> being generated which is
obviously wrong.

Use <code> instead of @c to work around this Doxygen bug.

Closes #26719.
2026-07-22 00:00:33 +02:00
Vadim Zeitlin 6a7b644a95 Quote "target" attribute value everywhere for consistency
No real changes, just consistently use target="_blank".
2026-07-21 20:35:22 +02:00
Vadim Zeitlin 0a5a0f635b Use standard "_blank" target in HTML instead of "_new"
No real changes as browsers seem to handle "_new" as "_blank" anyhow,
but use the standard-compliant value of the "target" attribute.
2026-07-21 20:33:33 +02:00
Vadim Zeitlin 28dc69f8bd Don't define a test case doing nothing when wxUSE_HELP==0
Unix builds / Ubuntu 18.04 wxGTK 3 compatible 3.0 (push) Canceled after 0s
Unix builds / Ubuntu 24.04 wxGTK ASAN not compatible (push) Canceled after 0s
Unix builds / Ubuntu 18.04 wxGTK UTF-8 (push) Canceled after 0s
Unix builds / Ubuntu 18.04 wxQt (push) Canceled after 0s
Unix builds / Ubuntu 18.04 wxX11 (push) Canceled after 0s
Unix builds / Ubuntu 20.04 wxGTK 3 with clang (push) Canceled after 0s
Unix builds / Ubuntu 22.04 wxGTK with wx containers (push) Canceled after 0s
Unix builds / Ubuntu 18.04 wxDFB (push) Canceled after 0s
Unix builds / Ubuntu 24.04 wxGTK UBSAN (push) Canceled after 0s
Unix builds / Ubuntu 18.04 wxGTK 3 static with gcc 4.8 (push) Canceled after 0s
Unix builds / Ubuntu 18.04 wxGTK 2 (push) Canceled after 0s
CMake builds / Ubuntu 22.04 wxGTK 3 (push) Canceled after 0s
CMake builds / macOS latest wxGTK 3 Unix Makefiles (push) Canceled after 0s
CMake builds / MSW/MSVC wxMSW (push) Canceled after 0s
CMake builds / MSW/Clang wxMSW (push) Canceled after 0s
CMake builds / macOS latest wxOSX Ninja (push) Canceled after 0s
CMake builds / macOS 14 wxOSX Xcode (push) Canceled after 0s
CMake builds / macOS 14 wxIOS (push) Canceled after 0s
CMake builds / MSW/MSVC wxQt 5.15 (push) Canceled after 0s
CMake builds / MSW/MSVC wxQt 6.10 (push) Canceled after 0s
Mac builds / wxMac ARM ASAN not compatible (push) Canceled after 0s
Mac builds / wxMac Universal C++14 (push) Canceled after 0s
Mac builds / wxiOS Simulator on Silicon Mac (push) Canceled after 0s
Mac builds / wxiOS (push) Canceled after 0s
Mac builds / wxMac Intel C++17 (push) Canceled after 0s
Mac Xcode builds / iOS Simulator static (push) Canceled after 0s
Mac Xcode builds / macOS dynamic Release (push) Canceled after 0s
Mac Xcode builds / iOS static Debug (push) Canceled after 0s
MSW builds / wxMSW vs2022 DLL Debug x64 (push) Canceled after 0s
MSW builds / wxMSW vs2022 DLL Release x64 (push) Canceled after 0s
MSW builds / wxMSW vs2022 Debug Win32 (push) Canceled after 0s
MSW builds / wxMSW vs2022 Release arm64 (push) Canceled after 0s
MSW builds / wxMSW vs2026 DLL Release x64 (push) Canceled after 0s
MSW cross-builds / wxMSW 64 bits not compatible (push) Canceled after 0s
MSW cross-builds / wxMSW/Univ (push) Canceled after 0s
MSW cross-builds / wxMSW 32 bits (push) Canceled after 0s
Code Checks / Check Spelling (push) Canceled after 0s
Code Checks / Check Whitespace (push) Canceled after 0s
Code Checks / Check Mixed EOL (push) Canceled after 0s
Code Checks / Check C++ Style (push) Canceled after 0s
Code Checks / Check All Headers In allheaders.h (push) Canceled after 0s
Just don't define this test case at all.

See #26674.
2026-07-21 17:57:29 +02:00
Vadim Zeitlin b59f7b5f22 Delete the window created in ContextHelpCaptureLost test
The changes of e04e3260fc (Handle context-help mouse capture loss,
2026-07-08) added a window which was never deleted and prevented some
subsequent tests from working (strangely enough, apparently only under
Mac).

Use unique_ptr for it to ensure that it is deleted on scope exit.

See #26674.
2026-07-21 17:56:07 +02:00
Vadim Zeitlin df3d77528a Merge branch 'ipc-monolithic' of github.com:jpmattia/wxWidgets
Fix event loop used by console applications in monolithic build.

See #26686.
2026-07-21 15:48:44 +02:00
Vadim Zeitlin 022ec0773b Merge branch 'darkmode-richtext' of github.com:stevecor/wxWidgets
Fix dark mode switching for wxRichTextCtrl and wxRichTextStyleListCtrl.

See #26666.
2026-07-21 15:43:21 +02:00
Vadim Zeitlin 418bb5cc62 Update custom Doxygen header and footer to match std ones closer
Minimize discrepancies between the standard Doxygen version of these
files and our ones.

Add useful clipboard.js which allows copying the contents of various
snippets to clipboard.

Update HTTP links to use HTTPS.

Still keep our customizations, notably the custom header appearance and
removal of the separating hr element before the footer.

This also removes an unnecessary #page_container div element which was
never closed resulting, fixing the problem with invalid HTML output.

Closes #26710.
2026-07-21 15:31:05 +02:00
Vadim Zeitlin 895028b517 Fix recently introduced crash in wxFileSystem::OpenFile()
Fix the code after the changes of the recent b03850e367 (Reduce manual
memory management in wxFileSystemHandler code, 2026-07-20) which wrongly
destroyed the smart pointer too early.
2026-07-21 11:55:49 +02:00
Vadim Zeitlin 2650437c76 Merge branch 'wxGrid--system-color-change' of github.com:stevecor/wxWidgets
Unix builds / Ubuntu 18.04 wxGTK 3 compatible 3.0 (push) Canceled after 0s
Unix builds / Ubuntu 24.04 wxGTK ASAN not compatible (push) Canceled after 0s
Unix builds / Ubuntu 18.04 wxGTK UTF-8 (push) Canceled after 0s
Unix builds / Ubuntu 18.04 wxQt (push) Canceled after 0s
Unix builds / Ubuntu 18.04 wxX11 (push) Canceled after 0s
Unix builds / Ubuntu 20.04 wxGTK 3 with clang (push) Canceled after 0s
Unix builds / Ubuntu 22.04 wxGTK with wx containers (push) Canceled after 0s
Unix builds / Ubuntu 18.04 wxDFB (push) Canceled after 0s
Unix builds / Ubuntu 24.04 wxGTK UBSAN (push) Canceled after 0s
Unix builds / Ubuntu 18.04 wxGTK 3 static with gcc 4.8 (push) Canceled after 0s
Unix builds / Ubuntu 18.04 wxGTK 2 (push) Canceled after 0s
CMake builds / Ubuntu 22.04 wxGTK 3 (push) Canceled after 0s
CMake builds / macOS latest wxGTK 3 Unix Makefiles (push) Canceled after 0s
CMake builds / MSW/MSVC wxMSW (push) Canceled after 0s
CMake builds / MSW/Clang wxMSW (push) Canceled after 0s
CMake builds / macOS latest wxOSX Ninja (push) Canceled after 0s
CMake builds / macOS 14 wxOSX Xcode (push) Canceled after 0s
CMake builds / macOS 14 wxIOS (push) Canceled after 0s
CMake builds / MSW/MSVC wxQt 5.15 (push) Canceled after 0s
CMake builds / MSW/MSVC wxQt 6.10 (push) Canceled after 0s
Mac builds / wxMac ARM ASAN not compatible (push) Canceled after 0s
Mac builds / wxMac Universal C++14 (push) Canceled after 0s
Mac builds / wxiOS Simulator on Silicon Mac (push) Canceled after 0s
Mac builds / wxiOS (push) Canceled after 0s
Mac builds / wxMac Intel C++17 (push) Canceled after 0s
Mac Xcode builds / iOS Simulator static (push) Canceled after 0s
Mac Xcode builds / macOS dynamic Release (push) Canceled after 0s
Mac Xcode builds / iOS static Debug (push) Canceled after 0s
MSW builds / wxMSW vs2022 DLL Debug x64 (push) Canceled after 0s
MSW builds / wxMSW vs2022 DLL Release x64 (push) Canceled after 0s
MSW builds / wxMSW vs2022 Debug Win32 (push) Canceled after 0s
MSW builds / wxMSW vs2022 Release arm64 (push) Canceled after 0s
MSW builds / wxMSW vs2026 DLL Release x64 (push) Canceled after 0s
MSW cross-builds / wxMSW 64 bits not compatible (push) Canceled after 0s
MSW cross-builds / wxMSW/Univ (push) Canceled after 0s
MSW cross-builds / wxMSW 32 bits (push) Canceled after 0s
Code Checks / Check Spelling (push) Canceled after 0s
Code Checks / Check Whitespace (push) Canceled after 0s
Code Checks / Check Mixed EOL (push) Canceled after 0s
Code Checks / Check C++ Style (push) Canceled after 0s
Code Checks / Check All Headers In allheaders.h (push) Canceled after 0s
Update Documentation / Update Online Documentation (push) Canceled after 0s
Fix wxGrid for system colour change.

See #26705.
2026-07-21 01:13:11 +02:00
Vadim Zeitlin abaebefb57 Merge branch 'improve-samples' of github.com:PBfordev/wxWidgets
Tiny improvements to drawing and menu samples.

See #26702.
2026-07-21 01:04:55 +02:00
Vadim Zeitlin 651e2d7d03 Assert inside wxAuiPaneInfo::IsValid() itself
Instead of always calling this function inside an assert-like macro,
just assert in the function itself if the pane settings are
inconsistent.

This allows to give a more precise message, e.g. we can now explain what
is wrong with the center pane settings if any of the dock-related values
are non-zero.

See #26679.
2026-07-20 23:54:34 +02:00
Vadim Zeitlin b03850e367 Reduce manual memory management in wxFileSystemHandler code
Use unique_ptr when this can be easily done instead of manually calling
new/delete.

No real changes.
2026-07-20 20:45:48 +02:00
Vadim Zeitlin fcdaa107fb Create header for 3.3.4 in the change log
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
Restore instructions for updating it removed as part of preparation for
3.3.3.
2026-07-09 15:09:57 +02:00
Vadim Zeitlin 5ccdcd6b2a Update version to 3.3.4
Run misc/scripts/inc_release, update version.bkl and rebake.
2026-07-09 15:08:08 +02:00
Vadim Zeitlin 55423d3745 Record checksums for 3.3.3 release files
Note that source archives checksums have surreptitiously changed since
the initial announcement as the archives had to be rebuilt. The ones
here are the correct ones.
2026-07-09 15:06:03 +02:00
Vadim Zeitlin 35264a22cc Add reminder to check that website update workflow ran
It gets disabled due to inactivity and needs to be manually enabled to
run again.
2026-07-07 21:10:39 +02:00
Vadim Zeitlin 68cef639a5 Use correct Doxygen 1.15.0 version in "Create Release" workflow
The parent commit somehow used wrong and non-existent 1.9.15 version
instead of the correct 1.15.0.

[skip ci]
2026-07-05 21:37:51 +02:00
Vadim Zeitlin 728956d075 Use Doxygen 1.9.15 in "Create Release" workflow
Switch to Ubuntu 26.04 which includes this Doxygen version and
explicitly install it with Choco.
2026-07-05 21:28:04 +02:00
Vadim Zeitlin 670835aec7 Update release files for 3.3.3
Update READMEs, change log etc.
2026-07-05 18:01:58 +02:00
Vadim Zeitlin 12c509664b Add a disabled by default test for checking loading TAR files
See #26607.
2026-07-05 17:25:59 +02:00
Vadim Zeitlin e56a76dc63 Fix wxSpinCtrl border in wxMSW dark mode
The changes of 8a573dd7e7 (Improve handling of the borders in MSW dark
mode, 2026-06-08) resulted in using wxBORDER_SUNKEN for wxSpinCtrl by
default, but this didn't look right in the dark mode, so change its code
to explicitly prefer wxBORDER_SIMPLE now that DoTranslateBorder()
doesn't use it for dark mode any more.

See #26656.

Closes #26655.
2026-07-04 19:56:24 +02:00
Vadim Zeitlin 055d882eaf Merge branch 'fileconfig-fixes'
Fix assert on duplicate group in wxFileConfig.

See #26654.
2026-07-02 23:49:52 +02:00
Vadim Zeitlin b03b365a17 Merge branch 'osx-macos-27'
macOS 27 adaptions.

Closes #26578.
2026-07-02 23:49:20 +02:00
Vadim Zeitlin 8a5360b3d0 Use earliest supported macOS version in configure by default
Use the first value of DEPLOYMENT_TARGET_SUGGESTED_VALUES plist key
instead of MACOSX_DEPLOYMENT_TARGET.

Also drop support for using "buildSettings" key, this is something very
old and certainly not used by any of the still supported Xcode versions.

And simplify the commands used in a configure, in particular use a
single sed command with "p" modifier instead of using grep and then sed.
2026-07-02 23:48:22 +02:00
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
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
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
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