Maarten Bent
7caaa1ad7e
Improve right-aligned text positioning in wxListCtrl dark mode
...
Handle it correctly, i.e. symmetrically to the left-aligned text and not
in the same way as it.
2025-11-08 00:13:42 +01:00
Crementif
4b2a57c053
Make wxListCtrl dark mode closer to native, white mode rendering
...
Avoid problems due to overflowing into the next column by checking that
there is enough space available before drawing.
Adjust margins and padding to try to replicate what Windows uses
natively.
2025-11-08 00:01:17 +01:00
Crementif
d76f3c162a
Erase the whole list item row before drawing sub-items
...
Ensure hover colour doesn't remain anywhere, e.g. it doesn't show
through check boxes or (transparent) icons.
2025-11-07 21:05:36 +01:00
Crementif
4883c94439
Draw wxListCtrl subitems in visual, not logical, order
...
This may avoid issues due to overflowing into the next column.
2025-11-07 21:03:32 +01:00
Crementif
bde6b7a8b8
Fix wxListCtrl::GetSubItemRect(n, 0) when columns are reordered
...
Sum up all the preceding column widths to find the starting position of
the first column, which may not be 0 if the columns have been reordered.
2025-11-07 20:33:49 +01:00
Vadim Zeitlin
6152ec4e88
Fix bug in wxString::AssignFromUTF8() in UTF-8 build
...
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 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 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
This function, added in fd0c23ee24 (Add wxString::AssignFromUTF8()
function, 2025-08-30), had a fatal bug as it didn't invalidate the
position cache before modifying m_impl, which resulted in crashes later.
See #25887 .
2025-11-02 00:04:01 +01:00
Maarten Bent
514486b52f
CMake: Improve creating Wayland protocol files
...
Create the files in a temporary directory and only copy them to the
final directory if the files are different.
This prevents the source files from being rebuilt every time CMake is
run and the protocol files are replaced.
Exclude the protocols directory from being installed.
Closes #25945 .
2025-11-01 22:11:11 +01:00
Vadim Zeitlin
bb5aa0f67a
Improve code showing wxOverlay use in the drawing sample
...
Make the code work on all platforms by adding SetOpacity(-1) call needed
under wxMSW to enable overlay transparency and using wxGCDC to take into
account the brush transparency.
2025-11-01 17:45:46 +01:00
Vadim Zeitlin
30738d1929
Initialize wxStyledTextEvent members in their declarations
...
No real changes, just initialize member variable when declaring them
instead of doing it separately in the ctor.
2025-11-01 17:44:29 +01:00
Vadim Zeitlin
3f9b2d4a12
Merge branch 'ubsan-fixes'
...
Fix UBSAN errors in wxMiniFrame code.
2025-11-01 17:44:09 +01:00
Vadim Zeitlin
42baf8def2
Avoid clang warning about unused dummy variable
...
We really want to have it, even if it's not used.
2025-11-01 17:43:07 +01:00
Vadim Zeitlin
b37a0bfbcc
Merge branch 'explicit-colour-ctors'
...
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 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 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
Improve wxColour ctors.
See #25943 .
2025-11-01 17:41:30 +01:00
Vadim Zeitlin
2d5f490ef3
Fix broken rendering of wxGTK wxDataViewCtrl renderers
...
Fix wrong checks for RTL mode added in 07c1da23e2 (wxGTK: Fix
wxDataViewCustomRenderer in RTL layout, 2025-10-20).
See #25426 .
Closes #25944 .
2025-11-01 17:38:50 +01:00
Vadim Zeitlin
556943e74f
Merge branch 'propgrid-fix-wrap'
...
Fix bug in wxStaticText affecting wxPropertyGrid and then change the
code in the latter to not rely on Wrap() at all and use wxST_WRAP
instead.
See #25941 .
2025-11-01 16:08:25 +01:00
Eran Ifrah
d4c8e395b4
Make menu commands in stc sample usable under macOS
...
On macOS, "Minimal editor" and "Document map" items placed in the
"Window" menu didn't appear in the (standard) "Window" menu at all and
so couldn't be accessed.
Temporarily work around this wxOSX bug by moving them to another menu.
Closes #25935 .
Signed-off-by: Eran Ifrah <eran@codelite.org >
2025-11-01 16:06:17 +01:00
Vadim Zeitlin
d7b43b4fce
Get rid of DEFINE_STD_WXCOLOUR_CONSTRUCTORS() macro
...
This macro was always ugly and got even worse after the recent changes
adding many overloaded constructors to it, so refactor wxColour
declaration to avoid it: define port-specific wxColourImpl and inherit
the real wxColour from it, which allows us to define all these ctors in
a single place only.
There should be no changes for the existing code.
2025-11-01 16:04:42 +01:00
Vadim Zeitlin
229bf85ac0
Remove unnecessary casts to float from wxOSX wxColourImpl
...
Just use a floating point constant instead of explicitly casting to
float.
2025-11-01 16:04:42 +01:00
Vadim Zeitlin
3a83d2be6a
Remove unnecessary wxColour::Init()
...
Initialize members in their declarations in the ports that need it and
remove separate Init() functions as well as wxColourBase::Init() which
was only needed to have something to call from the ctors in the ports
without their own Init().
No real changes, this is just a simplification.
2025-11-01 15:27:40 +01:00
Vadim Zeitlin
c7279d08a6
Fix outdated comment for DEFINE_STD_WXCOLOUR_CONSTRUCTORS()
...
Set() is not virtual, so don't say that it is.
2025-11-01 15:27:40 +01:00
Vadim Zeitlin
9294eaba5f
Use delegation for wxColour ctors from name too
...
No real changes, just use delegation for consistency with the other
ctors.
2025-11-01 15:27:40 +01:00
Blake-Madden
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
66c548201c
Simplify wxPropertyGridManager description box code
...
Use wxST_WRAP for the control which should wrap instead of calling
Wrap() manually.
No changes in behaviour.
Closes #25795 .
2025-10-31 16:09:02 +01:00
Vadim Zeitlin
482848772a
Fix using outdated unwrapped label in wxStaticText
...
Since the changes of 65e8f2b7ca (Merge branch 'stattext-wrap',
2025-10-25), see #25925 and #25753 , a wrong label could be displayed
after a sequence of calls to Wrap(), SetLabel() and Wrap() with a
different value again.
This was due to reusing outdated value of m_unwrappedLabel, even after
the actual label has changed, so the solution is to invalidate
m_unwrappedLabel in SetLabel(). Unfortunately, this results in some
rather ugly code in Wrap(), which now has to restore m_unwrappedLabel
after using it, but there doesn't seem to be any other way to do it
currently.
The ideal solution would be to separate setting the label at wx level
and the actually displayed label in different functions, but this
requires updating all ports and so won't be done for now.
See #25795 .
2025-10-31 16:03:59 +01:00
Vadim Zeitlin
cf9c120dba
Add wxStaticTextBase::UpdateLabelOrig() and use it in all ports
...
Stop modifying m_labelOrig directly in wxStaticText implementations, as
the base class needs to be aware of these changes and this function will
give it an opportunity to react to them.
No real changes yet.
2025-10-31 15:50:13 +01:00
Vadim Zeitlin
4bf58e23b6
Fix a small typo in wxStyledTextCtrlMiniMap comment
...
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 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 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
No real changes.
2025-10-31 15:22:31 +01:00
Eran Ifrah
d58a97f82c
Don't consume wxEVT_STC_UPDATEUI in wxStyledTextCtrlMiniMap
...
Insert a call to `event.Skip()` at the start of
`wxStyledTextCtrlMiniMap::OnEditUpdate` so the event continues its
propagation.
Closes #25940 .
Signed-off-by: Eran Ifrah <eran@codelite.org >
2025-10-31 15:20:49 +01:00
Vadim Zeitlin
82689eee25
Remove "const" from GetMinSizeFromKnownDirection() documentation
...
This doesn't correspond to the actual function which is non-const.
Closes #25937 .
2025-10-31 14:56:40 +01:00
Vadim Zeitlin
e913e9eba4
Fix compilation problem due to memset_s() when using PCH
...
Define __STDC_WANT_LIB_EXT1__ in wx/platform.h, which is included before
the standard headers even when using PCH, to make sure memset_s()
declaration is available in this case too.
Closes #24687 .
2025-10-30 20:36:03 +01:00
Stefan Csomor
c074190501
add a wxGTK on macOS build action ( #25924 )
...
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 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 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
* add a wxGTK on macOS build, right now only manually triggered
2025-10-29 15:40:23 +01:00
Vadim Zeitlin
401d9e6d52
Merge branch 'iphone_controls2' of github.com:RobertRoeb/wxWidgets
...
No longer deactivate wxDataViewCtrl, wxHtml and more on iOS.
See #25929 .
2025-10-29 13:10:26 +01:00
Robert Roebling
4f26f1d14c
Disable printing in HTML test if no printing available
2025-10-29 08:09:16 +01:00
Vadim Zeitlin
bd14cf2dbf
Fix wxHeaderCtrl documentation after recent parameter change
...
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 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 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
Correct a problem introduced in 00bd397cf2 (Fix parameter name in
wxHeaderCtrl::ShowSortIndicator(), 2025-10-28) which wrongly renamed the
parameter but not its documentation.
See #25934 .
2025-10-29 00:33:59 +01:00
Vadim Zeitlin
1ec01aba44
Merge branch 'stc-document-map'
...
Merge the correct wxStyledTextCtrlMiniMap branch.
This supersedes wrong accidental merge in the parent commit.
See #25887 .
2025-10-29 00:31:52 +01:00
Vadim Zeitlin
dc4b7f7d64
Merge branch 'stc-document-map-wrap'
...
Add wxStyledTextCtrlMiniMap class showing a "mini map" of wxSTC.
See #25887 .
2025-10-29 00:27:52 +01:00
Vadim Zeitlin
8d677e188a
Merge branch 'headerctrl-doc-fixes'
...
Improve wxHeaderCtrlSimple documentation.
Closes #25934 .
2025-10-29 00:27:09 +01:00
vvs31415 and Vadim Zeitlin
de3d441a7b
Add full wxImageHandler constructor and use it in derived classes
...
Provide a ctor which can be used to fully initialize the base class
instead of forcing all image handlers to initialize their member
variables manually and use it in all the standard image handlers.
Closes #25933 .
Co-authored-by: Vadim Zeitlin <vadim@wxwidgets.org >
2025-10-29 00:25:40 +01:00
Vadim Zeitlin
467f14bf24
Merge branch 'treectrl-generic-modernize'
...
Modernize wxGenericTreeCtrl a bit.
See #25931 .
2025-10-29 00:19:58 +01:00
ssrlive and Vadim Zeitlin
471c7106b5
Improve precise wxTreeCtrl best size calculation
...
Try to compute the size of the items manually, even if GetBoundingRect()
doesn't return it, as it happens when the items are collapsed.
This ensures the tree control best size is big enough to show the tree
fully expanded.
Replaces #25843 .
Closes #25839 .
See #25930 .
Co-authored-by: Vadim Zeitlin <vadim@wxwidgets.org >
2025-10-29 00:19:10 +01:00
Arrigo Marchiori
7a4682a69f
Work around MinGW thread local variables bug in wxTranslations
...
Use a helper class storing per-thread untranslated strings in global
variables but still ensuring that their cleanup happens for each thread
when using this compiler as, due to a known bug in their implementation
in MinGW (see https://github.com/msys2/MINGW-packages/issues/2519 ),
member variables can't be used in thread local variables dtors.
Closes #25897 .
Closes #25928 .
2025-10-29 00:15:24 +01:00
Vadim Zeitlin
7ede53bf20
Merge branch 'generic-tree-font'
...
Improve font handling in wxGenericTreeCtrl.
See #25851 , #25927 .
2025-10-29 00:02:16 +01:00
Vadim Zeitlin
4bf0f34868
Merge branch 'RibbonReview' of github.com:Blake-Madden/wxWidgets
...
Fix minor issues in wxRibbonBar code and add a generally useful
wxCheckedStaticCast helper.
See #25900 .
2025-10-29 00:00:33 +01:00
Robert Roebling
00bd397cf2
Fix parameter name in wxHeaderCtrl::ShowSortIndicator()
...
Use more useful "ascending".
2025-10-28 23:58:30 +01:00
Robert Roebling
798a28a025
Document wxHeaderCtrlSimple::DeleteAllColumns()
2025-10-28 23:58:30 +01:00
Vadim Zeitlin
6f9bd5e49d
Document limitations of wxStyledTextCtrlMiniMap synchronization
...
Mention that only folds and markers updated after associating the map
with the control are automatically propagated to it and that the
application needs to do it manually for the pre-existing ones.
2025-10-28 23:45:49 +01:00
Blake-Madden
fec49ff9ea
Add and use new wxCheckedStaticCast helper
2025-10-27 12:18:32 -04:00
julbean
4b004dce6a
Document wxOSX_FILEDIALOG_ALWAYS_SHOW_TYPES constant
...
This will make it available in wxPython, so that the programs that need
it could use the symbolic constant instead of its string expansion.
Also fix a typo: does -> do
Closes #25920 .
2025-10-26 22:23:50 +01:00
Vadim Zeitlin
9d96531db4
Replace dynamic array use in wxGenericTreeCtrl with vector
...
Stop using deprecate macro-based dynamic array class, as it's private it
can be replaced with a vector.
As a side effect, sorting tree branches is now re-entrant and we don't
need to use the ugly s_treeBeingSorted hack.
2025-10-26 19:18:22 +01:00
Vadim Zeitlin
e1e53aa6f6
Don't export wxGenericTreeItem from wx shared libraries
...
This is unnecessary as this class definition is private anyhow.
2025-10-26 18:51:28 +01:00
vvs31415
cf8fb30973
Do not use wxItemId::m_pItem directly
...
Call public wxItemId::GetID() instead.
No real changes.
Closes #25926 .
2025-10-26 18:33:11 +01:00
Robert Roebling
aaf0cc56b7
Activate wxDataViewCtrl, wxHtml and more.
2025-10-26 10:54:54 +01:00