Commit Graph
2636 Commits
Author SHA1 Message Date
Bill SuandVadim Zeitlin cb774bb305 Ensure that wxAuiNotebook center pane uses expected dock values
Avoid the wxAuiNotebook center pane having non-zero dock_layer,
dock_row, or dock_pos values as it doesn't make sense for it.

Closes #26679.
2026-07-20 23:48:51 +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 670835aec7 Update release files for 3.3.3
Update READMEs, change log etc.
2026-07-05 18:01:58 +02:00
Stefan CsomorandVadim Zeitlin 7148a49c6d Map wxDF_TEXT to text in UTF-8 encoding in wxOSX
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
Don't use legacy encoding for it, this was unexpected and resulted in
e.g. wxClipboard::IsSupported(wxDF_TEXT) returning false when there was
text on the clipboard and IsSupported(wxDF_UNICODETEXT) returned true.

On current systems text and Unicode text are the same thing, so make
behaviour of wxDF_TEXT consistent with wxDF_UNICODETEXT.

See #26552.

Closes #26565.
2026-06-17 02:14:01 +02:00
Vadim Zeitlin b27778be58 Revert "Document change of wxGetTranslation() return type to wxString"
This reverts commit 079b891f3b (Document change of wxGetTranslation()
return type to wxString, 2026-02-18) after reverting df0d6be9ca (Revert
"Change return type of wxGetTranslation", 2026-05-03) which that commit
was documenting.
2026-05-12 16:29:03 +02:00
Vadim Zeitlin bad7d09d4f Fix positioning images in generic wx{List,Tree}Ctrl in high DPI
The implementation of GetImageLogicalSize() overload taking the image
index returned correct answer for this individual image, but was wrong
when used in the control with multiple images with different logical
sizes. This resulted in the actual bitmap being drawn, as returned by
GetImageBitmapFor(), being of different size than the size returned by
this function, as GetImageBitmapFor() uses the best ("consensus") size
for all images, which is also returned by GetImageLogicalSize() overload
not taking the image.

Solve this by simply getting rid of the overload taking the image and
replacing all existing calls to it with the calls to the other overload.
This is backwards-incompatible, but this function was only added in 3.3
and removing it is a lesser evil than either leaving a function which
can only be misused, or keeping the unused image index parameter which
would be confusing.

See #26397.

Closes #26391.
2026-04-24 16:56:12 +02:00
Vadim Zeitlin 1a014a5728 Add change log section for 3.3.3
Restore instructions for updating it too.
2026-03-04 19:37:00 +01:00
Vadim Zeitlin db1005db3d Correct 3.3.2 release year
It was off by 1.

Closes #26257.
2026-03-02 17:58:03 +01:00
Vadim Zeitlin de28076dd5 Update release files for 3.3.2
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
No Response / no-response (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
Follow the instructions in docs/contributing/how-to-release.md
2026-02-28 18:06:35 +01:00
Vadim Zeitlin 3c93711f4b Don't show the window if it is currently hidden in Raise()
Behaviour of this function when the window was hidden was inconsistent:
it didn't show the window in wxMSW but did in wxGTK (where doing this
broke decoration size computation logic, see #25348) and partially did
(meaning it was broken) in wxOSX.

Fix this in the simplest possible way and don't show the window in all
ports now, as it seems to be a safer change than starting to show it in
all of them.

Also document this behaviour.

Closes #18762.
2026-02-28 15:47:22 +01:00
Vadim Zeitlin 079b891f3b Document change of wxGetTranslation() return type to wxString
See #26196.
2026-02-18 16:13:14 +01:00
Vadim Zeitlin d9df7db130 Allow choosing between GLX and EGL during run-time
The same library binary can now be used to use either GLX or EGL for
wxGLCanvas implementation instead of the choice being done at build time
(by either always using EGL if it is enabled or always using GLX
otherwise).

New wxGLCanvas::PreferGLX() function (available only if wxHAS_GLX is
defined) can be used to request using GLX even if EGL is available,
otherwise EGL is used by default, just as before.

Additionally new "opengl.egl" system option can be used to the same
effect, mostly to allow users to set "wx_opengl_egl" environment
variable to 0 to use GLX if possible, i.e. with X11 and not Wayland.
2025-12-10 15:37:06 +01:00
Blake-MaddenandVadim Zeitlin 2448754ad8 Forbid mistakenly creating wxColour from bool
Prevent the code doing this (almost surely unintentionally) from
compiling.

This required adding overloaded ctors to avoid ambiguity for the calls
that should compile.

See #25938.
2025-11-01 15:27:40 +01:00
Vadim Zeitlin 4f994199a4 Revert "Add msw.window.no-composited system option"
This reverts commit d9734baed5.
2025-09-18 13:53:05 +02:00
Vadim Zeitlin d083668c2c Merge branch 'wx_cmake_dir' of github.com:cjmayo/wxWidgets
CMake: Install cmake files into a versioned directory.

See #25757.
2025-09-08 14:28:21 +02:00
Vadim Zeitlin d75f4c4f63 Create stub for 3.3.2 in the change log 2025-07-25 00:30:11 +02:00
Vadim Zeitlin 60b7e0d06c Update documentation files for 3.3.1 release
Fill in the change log, announcement, README etc.
2025-07-20 23:56:15 +02:00
Vadim Zeitlin 7756b0526d Document incompatible change to wxStyledTextCtrl::AddSelection()
This function doesn't have any return value any more.

See #25639.
2025-07-14 17:42:10 +02:00
Vadim Zeitlin 9d21fe332a Do not use "C" locale for date/time pickers in wxMSW by default
Using "C" date/time formats by default was a gratuitous change compared
to the behaviour in the previous versions of wxWidgets and is
inconsistent with wxCalendarCtrl, which makes it especially jarring.

Revert to the pre-6bcbcf9d09 (Make wxMSW date/time picker controls
locale aware, 2023-10-14) behaviour by default, although still use the
UI locale if it has been explicitly set.

Closes #25511.
2025-07-08 19:08:26 +02:00
Vadim Zeitlin 0b2f4e988e Document wxMSW date/time picker controls behaviour change
They use different format now than in the previous versions.

Closes #25511.
2025-06-17 19:00:16 +02:00
Vadim Zeitlin c855323370 Create new section for 3.3.1 in the change log 2025-06-09 22:55:25 +02:00
Vadim Zeitlin 42bf7dcbd9 Set 3.3.0 release date to 2025-06-06
No Response / no-response (push) Has been cancelled
Unix builds / Ubuntu 24.04 wxGTK with ASAN (push) Has been cancelled
Unix builds / Ubuntu 18.04 wxGTK 3 compatible 3.0 (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 with 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 / Windows MSVC (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 / Windows wxQt 6.8 (push) Has been cancelled
Mac builds / wxMac Universal C++14 (push) Has been cancelled
Mac builds / wxMac ARM with ASAN (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 vs2019 DLL Release x64 (push) Has been cancelled
MSW builds / wxMSW vs2019 Debug Win32 (push) Has been cancelled
MSW builds / wxMSW vs2022 Release arm64 (push) Has been cancelled
MSW builds / msw-msys2-clang (push) Has been cancelled
MSW cross-builds / wxMSW 64 bits (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
2025-06-03 15:16:24 +02:00
Vadim Zeitlin 5c1c1a7419 Document wxSlider labels positioning change in the change log
Also add a comment after the discussion in #25485.

See #24106.
2025-06-01 19:22:59 +02:00
Vadim Zeitlin 26c988ee8a Merge branch 'bmpcbox-size'
Unix builds / Ubuntu 24.04 wxGTK with ASAN (push) Has been cancelled
Unix builds / Ubuntu 18.04 wxGTK 3 compatible 3.0 (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 with 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 / Windows MSVC (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 / Windows wxQt 6.8 (push) Has been cancelled
Mac builds / wxMac Universal C++14 (push) Has been cancelled
Mac builds / wxMac ARM with ASAN (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 vs2019 DLL Release x64 (push) Has been cancelled
MSW builds / wxMSW vs2019 Debug Win32 (push) Has been cancelled
MSW builds / wxMSW vs2022 Release arm64 (push) Has been cancelled
MSW builds / msw-msys2-clang (push) Has been cancelled
MSW cross-builds / wxMSW 64 bits (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
Fix read-only wxBitmapComboBox best size in wxGTK.

See #25481.
2025-06-01 00:48:27 +02:00
Popax21andVadim Zeitlin 7f0bc5c110 Fix wxGLCanvasEGL scale under Wayland in high DPI
Unix builds / Ubuntu 24.04 wxGTK with ASAN (push) Has been cancelled
Unix builds / Ubuntu 18.04 wxGTK 3 compatible 3.0 (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 with 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 / Windows MSVC (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 / Windows wxQt 6.8 (push) Has been cancelled
Mac builds / wxMac Universal C++14 (push) Has been cancelled
Mac builds / wxMac ARM with ASAN (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 vs2019 DLL Release x64 (push) Has been cancelled
MSW builds / wxMSW vs2019 Debug Win32 (push) Has been cancelled
MSW builds / wxMSW vs2022 Release arm64 (push) Has been cancelled
MSW builds / msw-msys2-clang (push) Has been cancelled
MSW cross-builds / wxMSW 64 bits (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
Ensure that the buffer scale is always the same as the GTK scale factor:
Previously, wxGLCanvasEGL only set the buffer scale of the wl_surface
once during the creation of the canvas. However, the GTK widget scale
factor may change at any time (for example when the window is moved
across monitors), which results in the EGL window size becoming
out-of-sync with the surface's buffer scale when the canvas is resized.

Fix this issue by updating the wl_surface buffer size whenever the canvas
widget is resized.

Closes #23733.

Closes #25465.
2025-05-31 17:16:23 +02:00
Vadim Zeitlin a26eda72e8 Make wxPlatformInfo::Get() thread-safe
Unix builds / Ubuntu 24.04 wxGTK with ASAN (push) Has been cancelled
Unix builds / Ubuntu 18.04 wxGTK 3 compatible 3.0 (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 with 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 / Windows MSVC (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 / Windows wxQt 6.8 (push) Has been cancelled
Mac builds / wxMac Universal C++14 (push) Has been cancelled
Mac builds / wxMac ARM with ASAN (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 vs2019 DLL Release x64 (push) Has been cancelled
MSW builds / wxMSW vs2019 Debug Win32 (push) Has been cancelled
MSW builds / wxMSW vs2022 Release arm64 (push) Has been cancelled
MSW builds / msw-msys2-clang (push) Has been cancelled
MSW cross-builds / wxMSW 64 bits (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
Protect gs_platInfo initialization with a critical section to ensure
that we don't try to do it in parallel from more than one thread,
resulting in crashes.

See #25464.

Closes #25459.
2025-05-29 01:34:29 +02:00
Bill SuandVadim Zeitlin dce8b09914 Respect menu path style in wxFileHistory::AddFilesToMenu() too
Previously this function didn't respect the path style and always used
full paths in the menu items labels.

Fix this by moving the logic for determining the correct label to use
into GetMRUEntryLabel(), where it logically belongs.

Closes #25451.
2025-05-29 01:21:10 +02:00
FelipeandVadim Zeitlin 7d0590e78a Update Brazilian Portuguese translations 2025-05-29 01:11:12 +02:00
0tklandVadim Zeitlin 826228430e Update Simplified Chinese translations
Closes #25450.
2025-05-26 18:04:50 +02:00
MPHAMandVadim Zeitlin 3d15cc395d Fix wxDisplay invalidation on connected displays change
Pointers stored in wxDisplay became dangling when display cache was
invalidated due to a change in the monitors connected to the system,
resulting in fatal crashes when using them.

Fix this by using shared pointers internally to ensure that any existing
wxDisplay objects remain valid, in C++ sense, after display cache
invalidation, even if they switch to a special "disconnected" state
indicating that they don't represent a valid display any longer.

Closes #25396.

Closes #25407.
2025-05-26 17:54:07 +02:00
Blake-MaddenandVadim Zeitlin cd07eabd54 Add support for "Do not show this again" checkbox to wxInfoBar
Closes #25394.
2025-05-26 17:54:07 +02:00
Vadim Zeitlin 0b16089b5d Mention more translations updates in the change log
See #25401.
2025-05-25 17:31:42 +02:00
Vadim Zeitlin 14ad8211cf Document more changes in 3.3
Add changes merged after #25401.
2025-05-25 17:01:18 +02:00
Vadim Zeitlin 60381b7b37 Update change log for 3.3.0 release
Dump the contents of Git notes in this file, sort them and put the
most important ones on top.
2025-05-20 15:29:55 +02:00
Vadim Zeitlin 3e6b664762 Merge branch 'cursor-bundle'
Unix builds / Ubuntu 24.04 wxGTK with ASAN (push) Has been cancelled
Unix builds / Ubuntu 18.04 wxGTK 3 compatible 3.0 (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 with 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 / Windows MSVC (push) Has been cancelled
CMake builds / macOS 14 wxOSX (push) Has been cancelled
CMake builds / macOS 14 wxIOS (push) Has been cancelled
CMake builds / Windows wxQt 6.8 (push) Has been cancelled
Mac builds / wxMac Universal C++14 (push) Has been cancelled
Mac builds / wxMac ARM with ASAN (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 vs2019 DLL Release x64 (push) Has been cancelled
MSW builds / wxMSW vs2019 Debug Win32 (push) Has been cancelled
MSW builds / wxMSW vs2022 Release arm64 (push) Has been cancelled
MSW builds / msw-msys2-clang (push) Has been cancelled
MSW cross-builds / wxMSW 64 bits (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
Add wxCursorBundle to make supporting high resolution cursors simpler.

Also some other cursor-related fixes.

See #25374.
2025-05-11 18:53:32 +02:00
PBandVadim Zeitlin b58e2c472f Fix typos in changes.txt
Change "is" to "its" and add a missing comma.

Closes #25387.
2025-05-10 19:06:31 +02:00
Vadim Zeitlin 198b826acd Extract busy cursor-related stuff into its own header
It didn't make sense to include wx/utils.h from wx/cursor.h, but it
somewhat does make sense to declare busy cursor-related functions and
wxBusyCursor itself in this header, so extract these declarations into
their own header which is included from both wx/cursor.h and wx/utils.h
for compatibility, but can be also included directly.

Document that wx/cursor.h doesn't pull in wx/utils.h any longer as it's
an incompatible change (but hopefully one not resulting in too much
disruption and so worth it).
2025-05-08 02:49:54 +02:00
Vadim Zeitlin 0173a414fd Make wxAuiFlatTabArt the default wxAuiNotebook art provider
Add wxAuiNativeTabArt which can be used to restore the previous default
behaviour.

See #25316.
2025-04-17 18:16:52 +02:00
Vadim Zeitlin 4593d00051 Replace wxPrintDialogData booleans with a single enum
It was unnatural to have 3 booleans encoding 4 different states, as this
made a lot of impossible states representable.

Change this by using a single 4-state enum instead.

The price to pay is that SetAllPages(false) etc now behave somewhat
strangely: they don't do anything when not printing all pages (same as
before) and set the print target to "only specified pages" otherwise.
This is almost but not quite the same as the old behaviour because
calling

        SetAllPages(true);
        SetSelection(true);
        SetAllPages(false);

resulted in GetSelection() being true before but GetSpecifiedPages()
being true now. But hopefully not many people did anything like this and
at least this makes the state after the first 2 calls well-defined,
unlike before.

Also make printing all pages default everywhere and not just under Mac
because nothing else seems to make sense.

Update the documentation and, in particular, add the documentation of
SetAllPages() which somehow was never documented before.
2025-03-31 18:01:37 +02:00
Vadim Zeitlin 245e993aab Merge branch 'aui-improve-hint'
Improve wxAUI hint appearance and API.

Note that this disables fade-in effect by default.

See #25213.
2025-03-08 18:09:53 +01:00
Vadim Zeitlin c4f501724f Merge branch 'aui-pinned-tabs'
Add support for pinned and locked tabs to wxAUI.

See #25187.
2025-03-03 19:04:07 +01:00
Vadim Zeitlin 04a113c7d7 Don't use wxAUI_MGR_HINT_FADE by default
This flag doesn't seem to be really useful and it just makes the UI look
slower than it really is, so disable it by default.

It can be always enabled by those who want to use it.
2025-03-02 20:31:06 +01:00
Vadim Zeitlin 26d2a667b3 Remove mnemonics from page text in wxChoicebook and wxListbook
Do it for consistency with the other wxBookCtrl-derived classes.

Document this behaviour.
2025-02-24 18:09:00 +01:00
Vadim Zeitlin d861146cc4 Document incompatible change to wxAuiGenericTabArt as base class
While we keep compatibility with the class inheriting from wxAuiTabArt
by redirecting DrawPageTab() to their existing DrawTab(), we can't do
this for the classes deriving from wxAuiGenericTabArt because
DrawPageTab() is overridden in this class and so will be used.
2025-02-21 15:02:43 +01:00
Vadim Zeitlin 1c06d46a9f Use CSS colour values in wxColourDatabase by default
Allow reverting to using the traditional values for the conflicting
colours by calling UseScheme(Traditional) if really needed.

This is another attempt for changing wxColourDatabase to use more
standard colour values, after the previous attempt in bb131fdbc5
(updated colour definitions to the new official X version (patch
771272), 2003-07-17) which was reverted almost immediately after in
5e2ab1ea5d (reverted the last change (colour values changes), it cerated
too many problems, 2003-07-19), see #6031. Unlike the previous ones, it
provides an escape hatch in the form of UseScheme() and also leaves
traditional wx colour names not clashing with CSS ones still available.

Also update the "drawing" sample to allow showing both colour schemes,
and extend its view port to fit all the colour names vertically.

See #23518.
2024-12-13 23:51:34 +01:00
Vadim Zeitlin ea42194f18 Document incompatible change to wxAuiNotebook page indices
Advise to use GetPagePosition() if the physical/visual position and not
the logical index is really needed.
2024-12-09 17:31:48 +01:00
Vadim Zeitlin 79f06970a8 Make wxTextCtrl::SetLabel() consistently do nothing everywhere
Previously it did the same thing as SetValue() in wxMSW but didn't do
anything in wxGTK (and probably other ports), which made it easy to
write code that only worked under Windows but mysteriously didn't show
any text under Linux.

Change it to not do anything anywhere and add an assert to help
detecting wrong uses of this function.

Also add a unit test checking this behaviour.

See #24982.
2024-12-02 01:16:37 +01:00
Vadim Zeitlin 2765d8098f Do offset wxClientDC and wxPaintDC by client area origin in wxMSW
We didn't use GetClientAreaOrigin() in wxMSW, unlike in all the other
ports, meaning that for the frames with a toolbar the origin of
wxPaintDC was hidden behind the toolbar itself.

Fix this and ensure that the origin is the point just below (or to the
right of) the toolbar instead.
2024-10-28 23:43:47 +01:00
Vadim Zeitlin f6b4acf283 Change wxSizer::Detach(wxWindow*) to take wxWindowBase* instead
This function is called from wxWindowBase dtor to detach the window
being destroyed from the containing sizer and casting the pointer to the
object to wxWindow is UB because the object is not actually a wxWindow
any more by then.

Remove the cast and pass wxWindowBase pointer to wxSizer::Detach()
instead, as it doesn't need the full wxWindow anyhow.

Also document that any wxSizer-derived classes overriding Detach() will
need to be modified to follow this change.
2024-10-21 21:23:07 +02:00
Vadim Zeitlin b034664af1 Change default error exit code to 255 from -1
This is an incompatible change, but it doesn't change anything under
Unix systems, where exit codes are most useful, and makes behaviour
consistent across all platforms, so it seems to be worth doing.
2024-08-22 15:29:25 +02:00