Skip to content

Msw rtl zoom fixes#85

Open
AliKet wants to merge 21 commits into
masterfrom
msw-rtl-zoom-fixes
Open

Msw rtl zoom fixes#85
AliKet wants to merge 21 commits into
masterfrom
msw-rtl-zoom-fixes

Conversation

@AliKet
Copy link
Copy Markdown
Owner

@AliKet AliKet commented May 16, 2026

No description provided.

lanurmi and others added 21 commits May 15, 2026 02:05
The primary documented way of using a .natvis, in the Microsoft
documentation linked to, is to add it to one's project, not to copy
it under %USERPROFILE%.

Closes wxWidgets#26452.
Allow to call wx_add_builtin_library for external targets.
and use it for the libwebp targets.

See wxWidgets#26428.

Closes wxWidgets#26456.
So IDEs like Visual Studio show the correct character set.

Add an option to override the character set and use it in the win32 API tests.

See wxWidgets#26458.

Closes wxWidgets#26462.
The logic in wxTextCtrl::DoFreeze() for deleting leaked anonymous marks
when detaching the buffer kept raw pointers to GtkTextMark objects
without managing their reference count.

This worked for the specific internal mark targeted by this code, but
broke with other marks that may have become invalid in the meantime.
Specifically, GSpell uses such marks internally too, causing a
use-after-free crash.

Fixed by ref-counting the objects kept in m_anonymousMarkList.

Closes wxWidgets#26464.
Update links to Poedit in the docs, plus adjacent things things such as
the name or current path to xgettext.

Closes wxWidgets#26465.
This notably fixes user-visible problems when splitting wxAuiNotebook in
multiple panes.

See wxWidgets#26455.

Closes wxWidgets#26251.
Use wxBG_STYLE_PAINT, remove all the EVT_ERASE_BACKGROUND stuff,
and just draw the bitmap in the paint handler.
… under wxMSW

Ditto for wxDC::DeviceToLogical{Rel}() functions.

In RTL layout, these functions always return unmirrored coordinates under wxGTK3
and wxQt. This is now the case under wxMSW too for consistency and also to fix
double-mirroring problem when passing the transformed coordinates to GDI drawing
functions. See wxGrid::Render() for example.
Added in commit f5d326f (2025-10-19, wxMSW: Fix SetClippingRegion() after reverting commit 288b208)

wxDC::LogicalToDevice() now always returns unmirrored coordinates in RTL layout.
Also revert commit 3d40c2a (Fix wxDC::StretchBlit() for non-0
xsrc in RTL layout) which is no longer needed.
This constant is only used inside ApplyEffectiveScale()

No real changes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants