Vadim Zeitlin
0a6523c4d9
Update copyright years to 2025
...
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.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 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
Just run misc/scripts/inc_year and commit the results.
See #18690 .
2026-01-01 17:40:18 +01:00
Vadim Zeitlin
2be7895e8a
Add support for preemptively using "Basic" HTTP authentication
...
Add UseBasicAuth() which allows to avoid an extra round trip to the
server due to trying to access a protected URL without providing the
credentials first and only sending them in response to 401 response.
For libcurl, simply set authentication method to CURLAUTH_BASIC and let
the library handle everything. For the other backends, add the required
"Authorization" header ourselves, as they don't seem to have any support
for doing preemptive authentication on their own.
2025-12-22 19:55:34 +01:00
Vadim Zeitlin
3c31dd5413
Add wxWebCredentials::IsOk()
...
Add a trivial accessor to make testing for whether we are using a
default constructed or initialized object simpler.
2025-12-22 19:23:56 +01:00
Vadim Zeitlin
1fd12d7bd6
Document that wxGLContext::SetCurrent() is MT-safe
...
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.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
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 is an exception rather than the rule, so explicitly mention that
this is supposed to work.
See #26036 .
2025-12-21 02:01:46 +01:00
Vadim Zeitlin
36709380af
Merge branch 'runtime-egl'
...
Make it possible to choose during run-time between using GLX and EGL.
See #26023 .
2025-12-16 15:32:35 +01:00
Vadim Zeitlin
0885505143
Merge branch 'aui-minimize'
...
Add support for minimizing panes to wxAUI.
See #26009 .
2025-12-16 15:31:35 +01:00
Scott Talbert
cf49b6a220
Document wxObjectRefData as a typedef (vs class)
...
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
While this is actually more true to reality, this also helps work around
an issue with Doxygen 1.15.0 (and wxPython builds). See:
https://github.com/doxygen/doxygen/issues/11889
Closes #26033 .
2025-12-14 17:27:11 +01:00
Vadim Zeitlin
946ae2e8f2
Add wxGLCanvas::GetEGLVersion() to wxGTK and wxX11
...
Provide this function if only for consistency with GetGLXVersion().
2025-12-10 16:23:08 +01:00
Vadim Zeitlin
e9647b5c1b
Document wxGLCanvas::GetGLXVersion()
...
This function has been available since more or less always and is now
used in the OpenGL cube sample, so it seems like it ought to be public.
2025-12-10 15:43:45 +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
Vadim Zeitlin
69c0736999
Merge branch 'update-submodules' of github.com:MaartenBent/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.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 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
Update all third party libraries to their latest versions.
* libexpat: 2.7.1 → 2.7.3
* pcre2: 10.45 → 10.47
* nanosvg: latest
* libwebp: 1.5.0 → 1.6.0
* libpng: 1.6.47 → 1.6.52
* lexilla: 5.4.4 → 5.4.6
* libtiff: 4.7.0 → 4.7.1
See #26010 .
2025-12-06 18:37:15 +01:00
Vadim Zeitlin
c9755f54fe
Merge branch 'spin-fixes'
...
Miscellaneous fixes for generic wxSpinCtrl.
See #26002 .
2025-12-06 18:27:31 +01:00
Robert Roebling and Vadim Zeitlin
89b7f35ee4
Look for high DPI images in 2.0x subdirectory too
...
Support an alternative scheme used in other toolkits.
Closes #26003 .
Co-authored-by: Vadim Zeitlin <vadim@wxwidgets.org >
2025-12-06 18:24:08 +01:00
Robert Roebling
c0bbcd2c71
Allow images in higher resolution to be stored in own folder
...
- The is an alternative used in other toolkits
2025-12-06 18:18:50 +01:00
Robert Roebling
666966acbf
Use better name for wxSpinCtrl::SetIncrement() arg in the docs
...
Call it "inc" instead of "value" because this is what it actually is and
for consistency with the actual header and SetIncrement() in
wxSpinCtrlDouble.
2025-12-06 18:09:28 +01:00
Maarten Bent
413ce93fbc
Regenerate projects
2025-12-06 12:36:20 +01:00
Vadim Zeitlin
171647759f
Make minimized pane docking toolbars more configurable
...
Allow showing either icons or text or both of them in them and also
allow to optionally rotate the icons to match the text orientation.
2025-12-03 00:54:05 +01:00
Vadim Zeitlin
b571c19b9c
Remove duplicated comment for wxAUI_ORIENTATION_MASK
...
This comment was for wxAUI_TB_TEXT and didn't make sense here.
Leave wxAUI_ORIENTATION_MASK itself just in case anything relies on it
being here.
2025-12-03 00:48:25 +01:00
Vadim Zeitlin
f1dc5743d0
Add wxAUI_TB_ROTATE_ICON_WITH_TEXT style
...
Don't always rotate icons in the vertical toolbars to match the text
orientation, this has unexpectedly turned out to be very controversial,
so don't do this by default and require the use of a special style to do
it.
2025-12-03 00:46:18 +01:00
Vadim Zeitlin
469b767835
Allow minimized pane icon to be different from the normal one
...
Add wxAuiPaneInfo::IconMin() which can be used to set the icon to shown
when the pane is minimized.
This is useful especially in the case when normal icon is not set at
all, as the minimized pane button really must have an icon.
Show it in the sample using some completely random items (which is not
ideal, but there are no good looking standard icons that would make
sense here).
2025-12-01 19:51:12 +01:00
Vadim Zeitlin
c2b8789892
Show text only optionally for minimized panes
...
By default, show only their icons and provide ShowTextForMinPanes() to
enable showing their titles as well.
2025-12-01 19:50:15 +01:00
Vadim Zeitlin
023a984fed
Add initial support for minimized panes to wxAUI
...
Show buttons allowing to hide or restore the pane in the special
minimized panes toolbars and allow configuring where such toolbars can
be created.
2025-12-01 19:50:15 +01:00
Vadim Zeitlin
f084a3e41e
Add wxAUI_TB_VERT_TEXT_{DOWN,UP} styles
...
These styles provide a simple way to specify that the text should be
shown and set its direction when using vertical toolbars.
2025-11-30 00:07:23 +01:00
Vadim Zeitlin
6b0b8edc20
Add support for rendering text vertically to wxAuiToolBar
...
This will actually allow to use text for vertical toolbar items.
This commit is best viewed ignoring whitespace-only changes.
2025-11-29 23:13:24 +01:00
Vadim Zeitlin
9b278b1c57
Document wxAuiGenericToolBarArt and wxAuiMSWToolBarArt too
...
This will provide a way to document functions overridden in them to
behave differently from the base implementation in wxAuiToolBarArt, if
nothing else.
2025-11-29 23:10:34 +01:00
Vadim Zeitlin
ca993997c6
Check that wxAUI_TB_HORZ_LAYOUT isn't used with wxAUI_TB_VERTICAL
...
Combining these styles doesn't make sense, so assert if this happens to
point out probably mistake in the code creating toolbar.
2025-11-28 17:23:17 +01:00
Vadim Zeitlin
d7fffa83de
Update wxRichTextCtrl documentation to use wxReadOnlyDC
...
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.10 (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
Update type of the parameters whose actual type was changed in
0544fa8c48 (Replace wxClientDC with wxInfoDC when possible, 2024-07-21)
in the documentation too.
Closes #25981 .
2025-11-21 01:04:44 +01:00
Vadim Zeitlin
2fe726ad3d
Fix base class of wxVListBox in the documentation
...
It's wxVScrolledCanvas, a.k.a. wxVScrolled<wxWindow>, and not
wxVScrolledWindow.
Closes #25980 .
2025-11-20 21:52:10 +01:00
Vadim Zeitlin
dc60fd3bcc
Remove mention of "client area" from wxEVT_LEAVE_WINDOW docs
...
This message is generated when the mouse leaves the window, not its
client area (i.e. it is not generated if the mouse moves over the window
scrollbars).
2025-11-15 13:47:53 +01:00
Vadim Zeitlin
eb4bcf5ede
Merge branch 'gl-release'
...
Add wxGLContext::ClearCurrent().
See #25958 .
2025-11-09 01:19:55 +01:00
Vadim Zeitlin
79aa42d8ef
Improve wxBookCtrl page change event documentation
...
Explain that the CHANGING event handler doesn't have access to the new
page and also don't say that it's unnecessary to handle both this event
and CHANGED one as it's quite common to handle both of them.
2025-11-08 00:10:56 +01:00
Vadim Zeitlin
bc41f9102a
Fix wxLogWarning() documentation
...
Don't claim that they "don't interrupt the program work", whatever it
means.
Closes #25916 .
2025-11-07 18:41:38 +01:00
Vadim Zeitlin
f0309c95e0
Add wxGLContext::ClearCurrent()
...
This function allows to reset the current OpenGL context.
Closes #25951 .
2025-11-07 00:16:50 +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
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
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
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
11a8ed6cbb
Replace InformFirstDirection() with better API
...
The functions InformFirstDirection() in wxWindow and wxSizer forced the
code overriding it to be written in unnatural way, by storing the
parameters passed to this function and then using them in other
functions later.
Add new functions wxWindow::GetMinSizeFromKnownDirection() and
wxSizer::CalcMinSizeFromKnownDirection() taking the same parameters as
InformFirstDirection() but which can use them directly to return the
desired result.
Change wxStaticText and wxWrapSizer to use them instead of the old
function to simplify their code (that of wxWrapSizer could probably be
still simplified further, as it doesn't seem necessary to store these
values at all any longer, but for now keep it as is).
2025-10-25 15:59:25 +02:00
Robert Roebling and Vadim Zeitlin
bc3b22bb58
Implement automatic wrapping in wxStaticText with wxST_WRAP
...
Override the new GetMinSizeUsingLayoutDirection() in wxStaticText to
compute the size needed to fit wxStaticText contents when wrapping it
at the specified width.
Modify wrapsizer sample to also show wxStaticText wrapping.
Co-authored-by: Vadim Zeitlin <vadim@wxwidgets.org >
2025-10-25 15:58:20 +02:00
Robert Roebling and Vadim Zeitlin
3cee484a83
Add new wxSizer::CalcMinUsingLayoutDirection()
...
This allows wxWrapSizer to just override the new function instead of
using m_lastUsed variable to distinguish between calculating min size
during the first and second layout passes.
Also add wxWindow::GetMinSizeUsingLayoutDirection() following similar
logic. This is not used yet but will be in the upcoming commit.
Co-authored-by: Vadim Zeitlin <vadim@wxwidgets.org >
2025-10-25 15:57:48 +02:00
Vadim Zeitlin
b5255ef927
Add wxStyledTextCtrlMiniMap::SetEdit()
...
Allow changing the editor associated with the map or even resetting it
completely, so that the map doesn't show anything.
Also make the relationship between the editor and the map safer, by
avoid leaving dangling pointers when either of them is destroyed.
2025-10-21 17:36:05 +02:00
Vadim Zeitlin
5af5010f02
Don't hide editor vertical scrollbar when using minimap
...
This looks nicer but loses potentially useful functionality of the
editor scrollbar which may be used to scroll the editor even if the text
is short enough to fit entirely in the map, and so when the map doesn't
have any scrollbar at all.
Document the possibility of hiding it scrollbar for people who still
want to do it.
2025-10-21 16:53:16 +02:00
Vadim Zeitlin
e17485d4c5
Merge branch 'master' into stc-document-map
...
Resolve conflicts in Xcode projects by regenerating them.
2025-10-21 02:08:39 +02:00
Vadim Zeitlin
9d75245d08
Synchronize markers with the mirror control too
...
Add a demo marker to the sample to verify that it is shown in the map as
well.
2025-10-21 02:05:45 +02:00