Allow creating appropriate wxUxThemeHandle in dark mode from HWND We could either create wxUxThemeHandle from HWND (and not wxWindow) or use correct classes for dark mode, but not both at once. Refactor NewXXX() factory functions to allow specifying both now. No real changes, but this will be used in the upcoming commit.
Fix appearance of owner drawn menus in dark mode Also fix appearance of the menus with breaks by making them owner drawn. Co-Authored-By: Vadim Zeitlin <va...@wxwidgets.org>
Fix rounded menu corners appearance under Windows 11 Add a function to force using rounded window corners and use it from WM_ENTERIDLE handler to do it for the currently shown menu. Refactor wxMSW dark mode code to allow reusing DwmSetWindowAttribute() even when dark mode is not enabled. Also add IsHighContrast() helper which may be also useful elsewhere later, as rounded corners are not used in high contrast mode. Closes #22518. Co-Authored-By: Vadim Zeitlin <va...@wxwidgets.org>
Remove GC-aware code and fix clip view leak Remove "GC-aware" code as GC is not supported by the OS any longer. Fix leak of wxWindow::m_osxClipView by releasing it after adding it as subview.
Fix miscellaneous memory leaks related to synthesized properties When using @property(retain), we need to reset the pointer to prevent it from being leaked when the containing object is destroyed.
Fix memory leaks reported by Xcode Memory Analysis Mostly just add autorelease to avoid various objects being leaked, but also add manual calls to release for the code which is not necessarily executed inside a GUI application and so can't rely on autorelease pool existence.
Fix leak of buttons in wxFontDialog Release buttons after adding them to superview.
Fix memory leak of NSPasteboardItem in wxOSXPasteboard code Add missing release.
Fix tracking area memory leak
Merge branch 'osx-memory-leaks' Fix several memory leaks in wxOSX. See #26215. Closes #26208.
Add a note about rectangle position to wxWindow::GetRect() docs Explicitly say that the position is relative to the parent for child windows but display origin for the TLWs.
Restore wxDataViewCtrl columns view positions Previously only saving columns positions was implemented, but they were never restored. Closes #26222. Signed-off-by: Vadym Hrynchyshyn <vadi...@gmail.com>
Update wxMenuBar background after system colours change This fixes the problem with the menu items becoming completely invisible when switching from dark to light mode. Co-authored-by: Mohmed abdel-fattah <memo...@gmail.com> Co-authored-by: Maarten Bent <Maart...@users.noreply.github.com>
wxScrolled<>: fix testing mouse position in autoscroll zone wxWindow::GetRect() does not always report client coordinates, so use wxWindow::GetScreenRect() and wxWindow::ClientToScreen() to test mouse and autoscroll zone with consistent coordinate system. Closes #26226.
Merge branch 'msw-menu-appearance-fixes' Appearance fixes for wxMSW menus in dark mode. See #26182.
Fix script used to change macOS install names with configure This is a "forward port" of 31c8641771 (Fix script used to change macOS install names with configure, 2026-02-18) from 3.2 branch. See #23143, #25173, #25182, #25675. Closes #26200.
Don't refresh wxAuiToolBar unnecessarily in wxEVT_SIZE handler wxAuiToolBar gets wxEVT_SIZE events due to relayout done by wxAuiManager whenever any sash is being dragged, but this doesn't necessarily actually change its size, so avoid refreshing it in this case, as this results in very noticeable flicker, especially when the toolbar has any controls inside it. This commit is best viewed ignoring whitespace-only changes. Closes #26142. Closes #26212.
Edge WebView fixes Use ICoreWebView2_22:: AddWebResourceRequestedFilterWithRequestSourceKinds() when available (closes #25816). Also fix memory file system issues. Closes #25816. Closes #26214.
—
View it on GitLab.
You're receiving this email because of your account on gitlab.com. Manage all notifications · Help