Focus the native edit child when testing wxComboBox Enter handling on MSW,
where wxEVT_TEXT_ENTER is generated from the edit control's character message.
Also split Return simulation into key down/yield/key up so the native message
sequence is observed.
Make the other control tests less dependent on platform-specific details:
check visibility of the actual selected grid endpoint instead of a
DPI-sensitive nearby cell, and allow wxDataViewCtrl to report more than one
key-down event.
Some DC implementations can normalize the requested font when it is selected
into the DC. Save the font actually returned by the DC after applying the
font changer, and verify that clipping restores that realized font.
Make auth and DELETE response checks independent of JSON whitespace, preserve
the base URL path when redirecting to basic auth, and skip digest auth only
with the default public httpbin mirror and WinHTTP backend.
Add a TempDir test helper that creates a unique temporary directory and
removes it recursively when it goes out of scope.
Use it in archive, intl, filename and fswatcher tests instead of open-coding
temporary directory creation with CreateTempFileName(), tempnam(), mkdtemp()
or fixed names under the temporary directory.
Prefer drawing references beside the test binary in multi-config builds.
In automatic runs, skip comparisons when the platform-specific reference
image is missing instead of failing the whole suite.
Avoid placing the HTML zip sample executable beside test_base as zip.exe,
where the archive tests can mistake it for an external ZIP tool.
Keep the sample source directory as samples/html/zip and only rename the
CMake target/output.
Reposition the active cell editor after wxGrid resizes its child
windows, keeping the editor inside the visible grid window and
refreshing the old editor area.
Add a GUI regression test that shrinks the grid while editing and
checks that the editor remains visible in the grid window.
Fixes#2678.
Closes#26724.
Handle executable DefaultIcon values such as %1/%L by asking the
shell for an icon location and falling back to the stock application
icon when SHGetFileInfo() does not provide a file/index location.
Add a base test covering the .exe icon location path.
Fixes#21794.
Closes#26673.
Track the active DL nesting depth while parsing definition lists and
use it when indenting DD content, so nested definition lists are laid
out deeper than their parent item. Add parser coverage and a sample
case for the old nested DL repro.
Fixes#20752.
Closes#26676.
Preserve non-breaking spaces in wxHtmlWinParser instead of converting them
to normal spaces, and prevent wxHtmlWordCell from allowing a line break
before NBSP-only text segments.
Add a parser regression test covering an -only segment between words.
Fixes#20399.
Closes#26678.
Store BODY BGCOLOR in the wxHTML parser state even when there is no
window interface, then carry the parsed colour onto the renderer root
cell so wxHtmlDCRenderer fills printed pages with it instead of white.
Add a renderer regression test covering BODY BGCOLOR output.
Fixes#20652.
Closes#26677.
Let wxFileSystemHandler fall back to its built-in extension MIME map
when the MIME manager finds a file type but cannot return a MIME type.
This keeps .htm and .html files recognized as text/html on stripped
Windows systems missing the registry Content Type value.
Fixes#20967.
Closes#26675.
End wxContextHelp mode when mouse capture is lost and only release the
mouse if the help window still owns capture after the modal help loop.
Add coverage for the capture-loss path so context help exits without
using another input event.
Fixes#21534.
Closes#26674.
Apply TABLE ALIGN to the wrapper that positions the table instead of
using it as the default alignment for TD/TH content. Leave cell text
alignment controlled by row/cell alignment, with the existing TH default.
Add a parser layout regression test and sample markup for the centered
table case.
Fixes#21853.
Closes#26672.
Reset the default text foreground and background before drawing each
calendar day, using the control colours instead of the cached system
background. This prevents selected, surrounding, or attributed dates from
leaking colour state into neighbouring day cells on non-default colours.
Fixes#21885.
Closes#26671.
Remember the editor instance used for the shown edit control and use it
for visibility checks, painting, hiding, and saving. This keeps the edit
control lifetime independent of later attribute changes, so replacing a
cell or column editor while editing does not make wxGrid hide or save
through the wrong editor.
Add a regression covering replacement of a column bool editor while its
cell is being edited.
Fixes#21986.
Closes#26670.
Capture the current text metrics when parsing image cells and use them to
position ALIGN=CENTER images relative to the surrounding text center and
not to the total cell height.
Add a parser regression test for the image and adjacent word vertical
centers.
Fixes#2976.
Closes#26669.