Commit Graph
78753 Commits
Author SHA1 Message Date
Lauri Nurmi 9bbb2dfb6b Test only one wxDateTimeHolidayAuthority at a time
wxDateTimeChristianHolidays was tested with a wxDateTimeUSCatholicFeasts
already existing and taking precedence. I.e. the tests for Christmas in
ChristianHolidays actually tested (again) the USCatholicFeasts
implementation.

This reveals an off-by-one bug in wxDateTimeChristianHolidays::DoIsHoliday(),
which doesn't use the enum symbol for month, and declares Christmas to be
on the 25th day of the 13th month.

Further, this raises the question whether it is a bad idea to have the
authority implementations in a header. Fixing bugs like this would
require recompiling the application, instead of simply updating the
DLL/dylib.
2025-08-30 15:05:40 +02:00
Lauri Nurmi ab967cac5b Remove meaningless continue statements 2025-08-30 15:05:40 +02:00
Lauri Nurmi 807aeb252a Move Christmas to December from the 13th month 2025-08-30 15:05:40 +02:00
Vadim Zeitlin d6af1f50ca Make wxTopLevelWindow label same as title in all ports
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 24.04 wxGTK UBSAN (push) Has been cancelled
Unix builds / Ubuntu 18.04 wxDFB (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 / 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.8 (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 (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 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 Response / no-response (push) Has been cancelled
This was previously done for wxGTK in a03b38ef68 (make Set/GetLabel()
set and return title in wxTLW, fixes #12371: Dialog::GetLabel()
Inconsistent behaviour across operating systems, 2010-08-21) and wxOSX
in 033f86db5f (adding SetLabel -> SetTitle redirects, solves missing
title updates using wxDocument/wxView, 2012-08-11) but wasn't done for
the other ports, including wxMSW and updating the page title in
wxAuiMDIChildFrame in docview framework didn't work because of it.

While using SetLabel() for setting the title is suspicious and it might
be a good idea to change docview code too, for now make it work by
ensuring that this works consistently in all ports.

See #12371.

Closes #25712.
2025-08-24 17:23:43 +02:00
Vadim Zeitlin db3a1351e5 Merge branch 'fix-menuitem-get-bb'
Fix recently broken wxMenuItem::GetBitmapBundle().

See #25720.
2025-08-24 17:22:34 +02:00
BrianDelalex 65d0a9bc00 Add possibilities to configure timeout in wxWebRequest
Add function allowing to set timeouts for WinHTTP and libcurl.

Closes #25673.
2025-08-24 17:21:25 +02:00
Vadim Zeitlin ea09c078ca Don't include .git-blame-ignore-revs in source archives
This file is only useful when using Git.
2025-08-24 16:57:26 +02:00
Vadim ZeitlinandStefan Csomor 32ea27c34f Do not call setAccessoryViewDisclosed: for NSSavePanel
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 24.04 wxGTK UBSAN (push) Has been cancelled
Unix builds / Ubuntu 18.04 wxDFB (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 / 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.8 (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 (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
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
This results in an immediate application exit (thanks Apple) and is
unnecessary anyhow because save panels, unlike open ones, show the
accessory view by default.

This fixes fatal problem introduced in the recent 426f745c6b (Fix
showing extra controls in wxFileDialog under macOS, 2025-08-22),
see #25717.

Co-authored-by: Stefan Csomor <csomor@advancedconcepts.ch>
2025-08-23 20:16:54 +02:00
Vadim Zeitlin 8d349dbddc Make it possible to call wxMenuItem::GetBitmapBundle() again
The changes of 0dfe37a643 (Add wxMSW-specific wxBitmapBundle accessors
to wxMenuItem, 2025-08-18) broke this as wxMSW-specific function taking
bool hid the base class function.

Just make the wxMSW function compatible with the base class one by
defaulting "bChecked" to false. Alternatively, we could use using
declaration to bring the base class function in scope, but this doesn't
seem to have any advantages and this change seems more clear.

In any case, add a unit test checking that the calls to these functions
at least compile.

See #25685, #25705.

Closes #25719.
2025-08-22 21:25:11 +02:00
Vadim Zeitlin 0aa9fc1879 Fix wxMenu leak in a unit test
Don't allocate wxMenu on the heap without ever freeing it, just create
it on the stack.
2025-08-22 16:28:36 +02:00
jey5nd6 426f745c6b Fix showing extra controls in wxFileDialog under macOS
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 24.04 wxGTK UBSAN (push) Has been cancelled
Unix builds / Ubuntu 18.04 wxDFB (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 / 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.8 (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 (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
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
No Response / no-response (push) Has been cancelled
These controls were not shown due to a forgotten colon in the test for
setAccessoryViewDisclosed support added in e765756555 (OSX file dialog
extensions (#2592), 2021-11-26).

Fix this simply by adding the colon, which is part of the method name.

Closes #25717.
2025-08-22 14:48:43 +02:00
Maarten Bent 3fd1c174cd Update wxAuiToolBar after wxSysColourChangedEvent
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 24.04 wxGTK UBSAN (push) Has been cancelled
Unix builds / Ubuntu 18.04 wxDFB (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 / 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.8 (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 (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
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
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 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
Update Documentation / Update Online Documentation (push) Has been cancelled
The background bitmap of the toolbar is cached and should be recreated
after the colour change.

Otherwise it will not be updated until a wxSizeEvent is generated.

Closes #25716.
2025-08-22 00:50:52 +02:00
Vadim Zeitlin a78df419b0 Merge branch 'cmake-builtin-lib-names' of github.com:MaartenBent/wxWidgets
CMake: Fix names of built-in webp libraries.

And improve dealing with CMAKE_BUILD_TYPE and CMAKE_CONFIGURATION_TYPES
variables.

See #25715.
2025-08-22 00:50:01 +02:00
Vadim Zeitlin 9b73719543 Merge branch 'size-restore-after-fullscreen' of github.com:paulcor/wxWidgets
Fix window size after unmaximizing it XFCE/MATE.

Workaround for Mutter from 9537141500 (Fix handling window total size
under GNOME with X11, 2025-04-28) broke the well behaving WMs used by
other desktop environments, such as XFCE, as it resulted in the window
size being mistakenly adjusted after the decorations size was changed
due to restoring a previous maximized window.

Prevent this from happening by not adjusting the size after the window
has been already mapped.

See #25348, #25349.

Closes #25708.

Closes #25711.
2025-08-22 00:44:08 +02:00
Vadim Zeitlin 0dfe37a643 Add wxMSW-specific wxBitmapBundle accessors to wxMenuItem
Provide GetBitmapBundle(bool checked) and GetDisabledBitmapBundle() too
in wxMSW, for consistency with the existing MSW-only member functions
returning bitmaps.

See #25705.

Closes #25685.
2025-08-22 00:43:19 +02:00
Maarten Bent 7b8caba193 CMake: Add CMAKE_CONFIGURATION_TYPES to cache
So it shows correctly in cmake-gui.
And keep the default hints.
2025-08-21 20:16:26 +02:00
Maarten Bent 49c95b8440 CMake: Revert changes to CMAKE_BUILD_TYPE by webp 2025-08-21 20:16:25 +02:00
Maarten Bent 1c6563e2a7 CMake: Fix names of built-in webp libraries
Use the same naming function as used by the other built-in libraries.
Set the PREFIX property, instead of relying on CMake's default value.

Fixes #25709
2025-08-21 20:16:23 +02:00
Paul Cornett a3e96b5529 Fix TLW size after restoring from fullscreen with X11
See #25708
2025-08-20 09:21:06 -07:00
Paul Cornett 96653d44ed Move TLW "map-event" handling to a member function
This will allow access to a private member in a later commit. No real changes.
2025-08-20 09:08:25 -07:00
Vadim Zeitlin 0aefcd7e9b Remove notifier from the old model in generic wxDataViewCtrl
Failure to do so could result in a crash later if the old model was not
destroyed but continued to exist independently of the control.

This also makes the code more natural and removes the need for the
comment explaining why we reset the notifier if we don't have any model.

Closes #25686.
2025-08-18 23:54:10 +02:00
Vadim Zeitlin 365b07b75f Fix wxPaintDC invalidation in wxMSW wxNotebook in dark mode
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 24.04 wxGTK UBSAN (push) Has been cancelled
Unix builds / Ubuntu 18.04 wxDFB (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 / 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.8 (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 (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 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
No Response / no-response (push) Has been cancelled
Claling GetTabRect() while painting wxNotebook could result in another
WM_PAINT sent by the native control when using multiple tab rows and
after handling this nested WM_PAINT wxMSW code called EndPaint() on the
DC used by wxPaintDC that we had created before calling GetTabRect().

This is almost certainly wrong and we should use reference counting
instead of assuming that nothing can use the HDC once we return from
WM_PAINT handler as the code seems to be doing currently, but for now
just avoid the problem by calling GetTabRect() before creating wxPaintDC
instead to ensure that wxPaintDC remains valid while we draw on it.

Closes #25700.
2025-08-18 00:45:32 +02:00
Vadim Zeitlin a39832140e Merge branch 'msw-statbmp-handle'
Free unused bitmaps in wxMSW wxStaticBitmap to reduce GDI resource usage
in this class.

See #25698, #25699.
2025-08-17 23:51:32 +02:00
Vadim Zeitlin 119ed10ad8 Minor formatting improvement to wxMSW wxStaticBitmap code
Try to be more consistent when comparing handles with the current one.

No real changes.
2025-08-17 23:50:42 +02:00
Vadim Zeitlin abee10f806 Minor formatting/comment fixes in wxMSW wxIDataObject code
This was supposed to be part of cf38ba8077 (Allow handling drag and drop
of CFSTR_FILECONTENTS with wxMSW, 2025-08-12) but was forgotten there.

See #25694.
2025-08-17 23:47:58 +02:00
Stefan Csomor 5c0e7e3357 Fix wxOSX wxOwnerDrawnComboBox button rendering in dark mode
Emulate native combobox button as close as possible.

Closes #25681.

Closes #25696.
2025-08-17 23:46:14 +02:00
Blake-Madden 54f61689b0 Add tests preset to CMake
Sets `wxBUILD_TESTS` to `ALL`.

Closes #25690.
2025-08-17 23:45:16 +02:00
Václav Slavík 77dd42f3c6 Fix MSVS debug visualizer of wxStrings
Fix the visualizer to display full Unicode string.

Previously, only the first character was shown in recent versions of
Visual Studio. This was due to the use of "sb" format specifier meaning
an ANSI string.

Use condition expressions to cover both wchar_t and UTF-8 builds.

Correct the specifier for UTF-8 case to be "s8b" so that it interprets
and displays UTF-8 correctly.

Closes #25684.
2025-08-17 23:43:42 +02:00
Alex ShvartzkopandVadim Zeitlin 2a2eca1601 Reduce GDI handles use in wxStaticBitmap
Don't keep the GDI handle passed to the native control if it had made a
copy of it: this is unnecessary and may result in resource exhaustion if
many bitmaps are used.

Closes #25698.

Co-authored-by: Vadim Zeitlin <vadim@wxwidgets.org>
2025-08-15 14:25:01 +02:00
Vadim Zeitlin 6c53312e2e Inline wxStaticBitmap::MSWReplaceImageHandle()
There doesn't seem to be any good reason to have this as a separate
function any more as it is called only once and always takes
m_currentHandle as parameter, which made things confusing as it used it
both directly and via formal parameter name.

No real changes.
2025-08-15 14:14:38 +02:00
Vadim Zeitlin 183b33e1d1 Merge branch 'GCDocs' of github.com:Blake-Madden/wxWidgets
No Response / no-response (push) Has been cancelled
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 24.04 wxGTK UBSAN (push) Has been cancelled
Unix builds / Ubuntu 18.04 wxDFB (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 / 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.8 (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 (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 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
Minor improvements to wxGraphicsContext docs.

See #25680.
2025-08-13 23:27:49 +02:00
Stefan Ziegler cf38ba8077 Allow handling drag and drop of CFSTR_FILECONTENTS with wxMSW
Allow the application to handle this and other similar data objects by
not giving an error if the index in the provided pformatetc object is 0.

Closes #25694.
2025-08-13 23:20:46 +02:00
Blake-Madden 74467930d6 Silence MSVC "possibly uninitialized" warning in WebP
Initialize variables to make it clear to the compiler that they always
have well-defined values.

Closes #25693.
2025-08-13 23:09:53 +02:00
Vadim Zeitlin ea0a01879f Fix wrong documentation of wxObjectDataPtr ctor
This ctor was wrongly documented back in cfa9866bf5 (revision
contributed by Utensil Candel, 2008-03-30) to call IncRef() on the
pointer passed to it but in fact it just takes ownership of it.

Closes #25692.
2025-08-13 23:08:43 +02:00
Blake-Madden ba7b31ba81 Explain the direction that Rotate goes 2025-08-04 05:39:42 -04:00
Blake-Madden ec29dbdc30 Minor formatting fix 2025-08-04 05:36:12 -04:00
Vadim Zeitlin d557e926b1 Fix test for .symver asm directive support in configure
No Response / no-response (push) Has been cancelled
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 24.04 wxGTK UBSAN (push) Has been cancelled
Unix builds / Ubuntu 18.04 wxDFB (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 / 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.8 (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 (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 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
We need to use it with the correct, i.e. existing, symbol name, which
means the mangled name actually used by the linker and not just the name
of the function as it appears in the source.

Fix the test to actually detect lack of support for .symver when using
clang with -flto.

This commit is the same as f2b844307d (Fix test for .symver asm
directive support in configure, 2025-05-25) in 3.2 branch.

See #25438.
2025-08-02 15:34:43 +02:00
Vadim Zeitlin fac142f4ac Fix install names of shared libraries under macOS
This commit corresponds to the changes previously done in 3.2 branch in
65ad6849d1 (Fix install names of macOS shared libraries, 2025-02-19) and
30c0f6a675 (Fix readlink problem in configure build under macOS < 12,
2025-08-02) and should ensure that we always set the install names
correctly.

See #24524, #25173, #25182, #25675.
2025-08-02 15:29:34 +02:00
Vadim Zeitlin b6281125e6 Remove wxBitmap::Set{Width,Height,Depth} from documentation
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
These functions are not available in the default build any more, so
don't document them as this could be misleading.

See #25639.
2025-08-02 02:48:01 +02:00
Martin Srebotnjak b968244bf4 Update Slovenian translations
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
2025-08-01 20:17:49 +02:00
Vadim Zeitlin f9d5b7833c Merge branch 'net-without-socket'
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
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 24.04 wxGTK UBSAN (push) Has been cancelled
Unix builds / Ubuntu 18.04 wxDFB (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 / 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.8 (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 (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 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
No Response / no-response (push) Has been cancelled
Build wxNet without wxSocket if wxWebRequest is used.

See #25669.
2025-08-01 00:36:31 +02:00
Vadim Zeitlin 6adc1eedf4 Merge branch 'cmake-improvements'
Miscellaneous CMake improvements, mostly for consuming the library via
add_subdirectory().

See #25666.
2025-08-01 00:36:10 +02:00
Vadim Zeitlin 067925dca4 Use MSVC-specific define for zlib only when MSVC is being used
Test for the compiler, not platform, before defining
_CRT_NONSTDC_NO_WARNINGS: even if it does no harm when another compiler
is used, it's unnecessary.
2025-07-31 19:52:44 +02:00
Vadim Zeitlin 9b25c1c6d7 Use new wx_lib_include_directories_before() it for 3rd party libs
Change wx_lib_include_directories() CMake helper to append include
directories to the path and add wx_lib_include_directories_before()
to prepend them to it in order to ensure that built-in 3rd party
libraries directories come in front of the headers search path.

This ensures that when src/common/imagpng.cpp includes png.h, the
correct src/png/pnglibconf.h is used and not any pnglibconf.h from the
system package, which wouldn't define PNG_PREFIX as "wx_", for example,
resulting in link errors later.
2025-07-31 19:52:44 +02:00
Vadim Zeitlin 1fb8530045 Don't give summary at the end of CMake if nothing changed
This avoids annoyingly redisplaying the same summary again and again
when CMake is rerun due to some change to its files -- showing the
summary again in this case is not useful, especially when wxWidgets is
consumed by another project using CMake via add_subdirectory() and the
change happens in some CMake file not related to wxWidgets at all.
2025-07-31 19:52:44 +02:00
Vadim Zeitlin ce2fd1acc6 Define HAVE_UNISTD_H when building bundled zlib with CMake
Otherwise <unistd.h> is not included, resulting in many gcc
-Wimplicit-function-declaration warnings, so include wx/setup.h, where
configure will have defined this symbol if the header is available.
2025-07-31 19:52:03 +02:00
Vadim Zeitlin 1bc6876158 Fix typo in wxUSE_REPRODUCIBLE_BUILD option description 2025-07-31 19:52:03 +02:00
Vadim Zeitlin 36c15805cc Stop configuring if wxUSE_SECRETSTORE=ON but libsecret not found
This is similar to dd745f1e37 (Error in configure if wxSecretStore
requested but not available, 2025-05-27) but for CMake: allow requesting
wxSecretStore to be available by setting wxUSE_SECRETSTORE=ON explicitly
and failing in this case if libsecret is not found.
2025-07-31 19:52:03 +02:00
Vadim Zeitlin 09fb3af763 Be more helpful if wxBUILD_LOCALES=ON and gettext not found
Explain that in addition to installing gettext the error can also be
avoided by not explicitly requesting translations to be built.
2025-07-31 19:52:03 +02:00
Vadim Zeitlin b9a0c18f70 Add wx_option_auto() CMake helper function
This just calls wx_option() to create an option taking ON/OFF/AUTO
values.
2025-07-31 19:52:03 +02:00