[wxWidgets/wxWidgets] 590b02: Fix wxButton::SetBitmap() to keep correct button s...

0 views
Skip to first unread message

VZ

unread,
Jan 3, 2026, 9:08:59 AMJan 3
to wx-co...@googlegroups.com
Branch: refs/heads/master
Home: https://github.com/wxWidgets/wxWidgets
Commit: 590b02569ff79c2d145fd8738885d6d12c0ad002
https://github.com/wxWidgets/wxWidgets/commit/590b02569ff79c2d145fd8738885d6d12c0ad002
Author: Robert Roebling <robert....@gmail.com>
Date: 2025-12-10 (Wed, 10 Dec 2025)

Changed paths:
M src/osx/cocoa/button.mm

Log Message:
-----------
Fix wxButton::SetBitmap() to keep correct button style in OS X

- Before, when setting a new bitmap (e.g. from Play bitmap
to Pause bitmap) the button would be recreated in pure
text button style, much too narrow.
- Then secondly, when taking into account the bitmap, it
switch from slightly rounded to unrounded corners. I assume
that the initial look with slightly rounded corners was
intented (and intended to be kept) and now it is preserved
after setting a new bitmap


Commit: d6d9b70f051785544623f42c78fa3dea130e1ed1
https://github.com/wxWidgets/wxWidgets/commit/d6d9b70f051785544623f42c78fa3dea130e1ed1
Author: Robert Roebling <robert....@gmail.com>
Date: 2025-12-16 (Tue, 16 Dec 2025)

Changed paths:
M src/osx/cocoa/button.mm

Log Message:
-----------
Move NSButton style flag calculation to single place


Commit: 2048a6871ce838c387fe222231b531b3903bdb40
https://github.com/wxWidgets/wxWidgets/commit/2048a6871ce838c387fe222231b531b3903bdb40
Author: Lee Ockert <tors...@gmail.com>
Date: 2026-01-03 (Sat, 03 Jan 2026)

Changed paths:
M src/richtext/richtextctrl.cpp

Log Message:
-----------
wxRichTextCtrl: Enhance macOS key bindings

Update key bindings for macOS to more closely match native behavior.

Currently, Cmd+Left goes to the left word boundary, and Cmd+Right goes
to the right word boundary, like on Windows (wxWidgets treats Cmd on Mac
as if it were Ctrl for keyboard modifier key purposes). Alt/Opt+Left
and Alt/Opt+Right do nothing.

This change maps Cmd+Left to the start of the line, and Cmd+Right to the
end of the line. It also maps Alt/Opt+Left to WordLeft() and
Alt/Opt+Right to WordRight(), which is conventional on native Cocoa
controls (including other wxWidgets controls that map directly to Cocoa
controls).

Closes #26064.

Closes #26066.


Commit: 1b582af60d99388b56b383fe240b647387a5e4b4
https://github.com/wxWidgets/wxWidgets/commit/1b582af60d99388b56b383fe240b647387a5e4b4
Author: Vadim Zeitlin <va...@wxwidgets.org>
Date: 2026-01-03 (Sat, 03 Jan 2026)

Changed paths:
M src/osx/cocoa/button.mm

Log Message:
-----------
Merge branch 'osx_bitmap_button_fix' of github.com:RobertRoeb/wxWidgets

Fix wxButton::SetBitmap() to keep correct button style in wxOSX.

See #26025.


Compare: https://github.com/wxWidgets/wxWidgets/compare/23b3a229d22b...1b582af60d99

To unsubscribe from these emails, change your notification settings at https://github.com/wxWidgets/wxWidgets/settings/notifications
Reply all
Reply to author
Forward
0 new messages