Bill Su
96eca6412e
Provide safe API for detecting closing wxTipWindow
...
Previous API was ugly and suffered from a race condition as the window
could be closed before the constructor returned.
Provide a safer API using weak-pointer-like wxTipWindow::Ref class that
is guaranteed to stop being valid when the tip window is closed.
Also implement two-stage constructions for this class, as usual.
Closes #26070 .
Closes #26071 .
2026-01-07 15:29:06 +01:00
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
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
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
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
Stefan Csomor
ec8f7002f4
add more log info
2025-12-09 15:57:09 +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
38b97d60de
Fix truncating bitmaps in the art provider resource browser
...
We need to redo the layout after changing the size of wxStaticBitmap,
otherwise it wouldn't be effectively resized to its new size and could
truncate the bitmap being shown in it if it's bigger than before.
2025-12-01 19:51:29 +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
fb23495630
Revert "add wxCheckBox to toolbar samples"
...
This reverts commit f6f1f05edc because
it's not really useful for demonstrating any capabilities and it makes
samples windows too wide.
2025-11-28 17:23:17 +01:00
Stefan Csomor
bba463aac2
Use native macOS API in wxBase in all GUI builds under Mac
...
Use the same wxBase library, using native API, regardless of whether
native API (Cocoa) or wxGTK is used by wxCore when building under
macOS.
Add new and more clear and simpler to use preprocessor constants for
testing for various builds on Apple hardware.
Also fix compilation with older macOS versions and gcc (not clang).
Closes #25919 .
2025-11-09 01:16:57 +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
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
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
65e8f2b7ca
Merge branch 'stattext-wrap'
...
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
Update Documentation / Update Online Documentation (push) Has been cancelled
Implement automatic wxStaticText wrapping.
See #25925 .
Closes #25753 .
2025-10-25 17:40:16 +02:00
Maarten Bent
36fa157d23
Use wxLogWarning for changing appearance errors in drawing sample
...
wxLogStatus is unnoticeable in the drawing sample, see #25587 .
Closes #25914 .
2025-10-25 16:05:43 +02:00
Vadim Zeitlin
6b5c6cd9b0
Rename variable with a nonsensical name in the widgets sample
...
No real changes, just don't use "dummy text" which doesn't mean anything
even though it has been present since 39bc0347fd (added support for
ellipsization and markup in wxStaticText (modified patch 1629946),
2007-04-01) and call the flags used for plain text and text with markup
just "flagsText" and "flagsMarkupText" respectively.
This makes the code a bit more understandable.
2025-10-25 15:59:25 +02:00
Vadim Zeitlin
6e554f3117
Test wxST_WRAP in the "Static" page of the widgets sample too
...
Add a checkbox to allow turning on wxST_WRAP.
2025-10-25 15:59:25 +02:00
Vadim Zeitlin
f2c4fb259f
Disable "Ellipsize" checkbox on the "static" widgets sample page
...
The text always fits initially, as the page size is computed using it,
so choosing to ellipsize it has no effect.
2025-10-25 15:59:25 +02:00
Vadim Zeitlin
3601c2d2b3
Don't make "Static" page in the widgets sample so wide
...
Use multiple lines for the long label to prevent it from making the
contents of the page too wide.
Do make the static box take all available space, if there is any.
2025-10-25 15:59:25 +02:00
Vadim Zeitlin
1201f665ed
Make it more visually clear where static text should wrap
...
Create a window of 150px width to check that the text really wraps at
150px.
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
Maarten Bent
ccbd0ad63a
Move wxWebViewBackendChromium name into common webview header
...
This allows to check for Chromium back-end availability without needing
wxUSE_WEBVIEW_CHROMIUM guards.
Closes #25911 .
2025-10-25 15:10:07 +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
Robert Roebling and Vadim Zeitlin
f9d31d878d
Add mouse events tests to event sample
...
Make it possible to easily see the events generated by (double) clicking
various mouse buttons.
Co-authored-by: Vadim Zeitlin <vadim@wxwidgets.org >
2025-10-20 00:03:56 +02:00
Vadim Zeitlin
f0b72c36b1
Move wxStyledTextCtrlMiniMap from stc sample to the library
...
After experimenting with this code in the sample, move it to its
permanent place in the library.
This commit is best viewed using Git --color-moved option and ignoring
whitespace changes.
2025-10-17 02:11:02 +02:00
Vadim Zeitlin
42e87852eb
Add Edit::ToggleLineNumbers() to the sample
...
Make it a bit simpler to show line numbers when showing the minimap.
2025-10-16 23:54:39 +02:00
Vadim Zeitlin
68a55e9c9b
Synchronize folding in the map and the main editor
...
Also don't hide fold margin any longer to allow testing folding.
2025-10-16 23:48:49 +02:00
ali kettab
0135b809c4
Fix use of wxGC with a scrolled window in drawing sample
...
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
Update Documentation / Update Online Documentation (push) Has been cancelled
A clip region set using SetDeviceClippingRegion() on a DC should not scroll
when the canvas we are drawing on scrolls. The drawing sample behaves like
this if the DC is a wxDC instance but not if it is a wxGC instance (because
it is not properly prepared when the canvas is scrolled, i.e.: GetDeviceOrigin()
always returns (0, 0) for a wxGC). So this bug should be fixed by preparing
the correct DC that we are actually using for drawing.
Closes #25877 .
2025-10-14 12:45:29 +02:00
Vadim Zeitlin
42ac97b157
Increase the line number margin width
...
It wasn't big enough to show 4 digit numbers.
2025-10-13 18:46:58 +02:00
Vadim Zeitlin
7d7caf4a3e
Extract iteration algorithm in its own function
...
Avoid duplicating the same code in different functions that need to
iteratively find the correct first visible line in the editor.
2025-10-13 18:38:37 +02:00
Vadim Zeitlin
58cd52d2db
Fix SyncEditPosition() for the case of wrapped lines too
...
We need to iteratively find the first editor line such that the
corresponding first map line is the desired one.
2025-10-13 18:19:56 +02:00
Vadim Zeitlin
87c8ce0184
Fix scrolling the editor while dragging the thumb
...
Find the candidate middle of the thumb directly from the first visible
line in the editor, we don't need to compute the first visible map line
(especially as we did it wrongly) for this.
Get rid of m_dragLastY which is not needed to get a reasonably accurate
initial estimation.
2025-10-13 18:02:20 +02:00
Vadim Zeitlin
9396c1980b
Add MapVisibleFromEditVisible() helper function
...
No real changes, just simplify the code a bit by adding a trivial
function performing a commonly needed mapping.
2025-10-13 17:42:01 +02:00
Vadim Zeitlin
5500f3d38c
Really fix map sync when lines can be wrapped
...
The assumption that first visible lines of the map and the editor are
proportional doesn't hold in this case, only the thumb position and the
first visible line in the editor must be proportional to each other in
order to accurately represent the position in the document.
2025-10-13 15:20:43 +02:00
Vadim Zeitlin
f0d9d909c4
Improve skipping scroll events caused by the program itself
...
Don't use a single m_updateBlocked flag which was reset too early,
before the re-wrapping happened, and so didn't really avoid processing
the scroll events due to the program itself.
Remember the last first line value we set instead and ignore events
scrolling to this line instead.
2025-10-13 15:10:26 +02:00
Vadim Zeitlin
187f68f2a4
Replace {map,edit}Display with {map,edit}Max in LinesInfo
...
No real changes, just store the maximum possible values for the first
visible line in both controls instead of storing the number of display
lines as we only really need the former.
2025-10-13 14:40:00 +02:00
Vadim Zeitlin
c35886ae27
Merge branch 'master' into stc-document-map
2025-10-10 17:32:32 +02:00
Stefan Csomor
18a60c9875
Drawing Sample adaptions for building under iOS ( #25855 )
...
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
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
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
* bracket code in drawing sample so that iOS can build it too, adding a simple keyboard navigation for iphone
2025-10-05 14:56:22 +02:00
Vadim Zeitlin
bc322eb65a
Fix multiple bugs in determining position when dragging
...
Improve the initial estimate: old method was more precise when display
and document lines matched up (i.e. without wrapping) but could result
in completely wrong value when they were very different.
Add proper range checking to avoid ending up with an invalid editor
first visible line.
Ensure that we don't enter an infinite loop when there are two first
visible lines values resulting in the thumb position close to but
either just above or below the correct one.
2025-10-02 23:51:27 +02:00
Vadim Zeitlin
2ef91eb6a3
Rename all "editor" variables to start with "edit" instead
...
Use consistent naming instead of using "editorFoo" for some things and
"editBar" for the other ones.
No real changes.
2025-10-02 15:09:47 +02:00
Vadim Zeitlin
97eb12c0d8
Don't use mnemonic character in tab labels in notebook sample
...
This results in both cosmetic problems, with the mnemonic being shown by
wxTreeBook, and asserts/crashes when changing notebook type due to
GetPageText() returning the page text without "&" and hence comparison
with RADIOBUTTONS_PAGE_NAME in CreatePage() failing.
For now just don't use mnemonics, even if this just hides the problem
and doesn't really solve it.
See #25840 .
2025-10-02 14:28:21 +02:00
Vadim Zeitlin
4444810c0f
Merge remote-tracking branch 'origin/master' into stc-document-map
2025-09-29 20:55:02 +02:00
Vadim Zeitlin
b5a9fa3847
Merge branch 'msw-drop-compositing'
...
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
Don't enable WS_EX_COMPOSITED by default in wxMSW any longer.
Closes #25025 .
Closes #25797 .
See #25808 .
2025-09-23 15:38:11 +02:00
Vadim Zeitlin
9ee71a7c12
Revert "samples/mfc: disable composition to allow wxClientDC to work"
...
This reverts commit 6ab144f9bf .
2025-09-18 13:53:05 +02:00