[Git][wxwidgets/wxwidgets][3.2] 15 commits: Don't use first image for wxListCtrl items without any image

4 views
Skip to first unread message

Vadim Zeitlin (@_VZ_)

unread,
Feb 1, 2026, 3:29:50 PMFeb 1
to wx-commi...@googlegroups.com

Vadim Zeitlin pushed to branch 3.2 at wxWidgets / wxWidgets

Commits:

  • 0d2c29be
    by Vadim Zeitlin at 2026-01-02T17:44:16+01:00
    Don't use first image for wxListCtrl items without any image
    
    Native wxListCtrl in wxMSW behaved inconsistently with the generic one
    and used the first image for the new items inserted into it even if no
    image was explicitly specified.
    
    Work around this unhelpful native behaviour by using I_IMAGENONE for the
    items without images.
    
    See #26062.
    
    (cherry picked from commit 2ab82b5a2082d9c83ba5ff80e669c3f1cc3cb607)
    
  • 833ac778
    by Lee Ockert at 2026-01-03T15:09:20+01:00
    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).
    
    See #26064, #26066.
    
    (cherry picked from commit 2048a6871ce838c387fe222231b531b3903bdb40)
    
  • cc1c23bf
    by moi15moi at 2026-01-10T19:23:31+01:00
    Handle font names longer than 31 characters in wxMSW
    
    Get the full font name using ::GetOutlineTextMetrics() if the name is
    exactly 31 characters long, as it may indicate that it was truncated to
    fit into LOGFONT::lfFaceName buffer which has fixed size of 32.
    
    This commit is best viewed with Git --color-moved option.
    
    See #25333, #26078.
    
    (cherry picked from commit c73b1b12e1ff4214e82b8e79829d05edd064514b)
    
  • 5debc954
    by Stefan Csomor at 2026-01-15T18:28:28+01:00
    Ensure that application is always shown after launch under macOS
    
    Post dummy event from applicationDidFinishLaunching, otherwise on some
    macOS versions apps might not boot properly if no other events are
    happening.
    
    See #26095, #26098.
    
    (cherry picked from commit 2f89cd2d6c25dd9ae98a0f980c2e46d9465f8349)
    
  • bba76b7e
    by Vadim Zeitlin at 2026-01-15T18:44:08+01:00
    Document actual behaviour of wxPoint ctor from wxRealPoint
    
    The changes of 1f7a8a8 (Round, rather than truncate, in wxSize and
    wxPoint operations, 2018-03-06) have invalidated the documentation that
    had been previously added in 4c20f3d (Document that wxPoint(wxRealPoint)
    ctor truncates, not rounds., 2013-04-16) to document the old behaviour.
    
    Changing the behaviour once again doesn't seem to be desirable, but at
    least synchronize the documentation with it again.
    
    See #26099.
    
    (cherry picked from commit eb64d55ea9d698a7044cb35d310306c26be9342f)
    
  • 019bfa80
    by reid-p at 2026-01-23T20:45:09+01:00
    Fix wx/stc/stc.h compilation with wxNO_IMPLICIT_WXSTRING_ENCODING
    
    Add missing wxASCII_STR() to the header template and regenerate the
    header itself.
    
    Closes #25047.
    
    (cherry picked from commit d44569d92f11c1a22528f793bcf33f1bc9b24541)
    
  • 86a18682
    by Vadim Zeitlin at 2026-01-23T20:56:54+01:00
    Avoid clang -Wshorten-64-to-32 in wx/stc/stc.h
    
    Add another cast (not ideal, but there are already plenty of them here)
    and use "long", rather than "int", for a variable to avoid these
    (harmless, because there is no real risk of truncation here) warnings.
    
    (cherry picked from commit 3690511994ed9cfb011b7aa5282f56eb28db0adf)
    
  • 638495bc
    by Vadim Zeitlin at 2026-01-23T20:57:00+01:00
    Test wx/stc/stc.h in the "all headers" test too
    
    Ensure that the problem like the one fixed by the previous commit
    doesn't happen again.
    
    See #25047.
    
    (cherry picked from commit e211f6f794e6adfc1d7fa1c9dd439934c9c71ad3)
    
  • 2f9d7158
    by Blake-Madden at 2026-01-24T20:04:21+01:00
    Fix multiline raw string syntax in gen_iface.py
    
    Add `r` prefix in front of each segment of raw string; otherwise, these
    segments aren't seen as raw strings.
    
    See #25012.
    
    (cherry picked from commit 113acd2673756a589fff6b4fff3850c9247da987)
    
  • c2f60054
    by Vadim Zeitlin at 2026-01-24T20:05:35+01:00
    Regenerate interface docs for wxSTC after gen_iface.py fix
    
    This fixes member groups comments.
    
  • 01752e95
    by Vadim Zeitlin at 2026-01-25T01:45:04+01:00
    Improve documentation of null wxDialog parent
    
    Mention wxDIALOG_NO_PARENT in the documentation of the parent parameter
    as people who don't know about this style are not going to see this
    style documentation either.
    
    See #23560.
    
    (cherry picked from commit 8245e1073ae66fd246d2ec180160d2e20acf3644)
    
  • d6cd26e1
    by Vadim Zeitlin at 2026-01-25T01:51:05+01:00
    Fix wrong destruction of wxBitmap in wxMSW wxStaticBitmap
    
    Due to a regression introduced in 3e32a9abe1 (Don't bother resetting
    wxStaticBitmap image when destroying it, 2025-06-12), which was part
    of #25518, the handle of wxBitmap passed to wxStaticBitmap::SetBitmap()
    was destroyed when another bitmap was passed to SetBitmap() later.
    
    Fix this by ensuring that we don't overwrite the value of the current
    handle (to be deleted) prematurely in DoUpdateImage().
    
    See #26106, #26110.
    
    (cherry picked from commit d662d5f6a06b9ba802fc0a4f17019164d35275f5)
    
  • 7ab64626
    by Vadim Zeitlin at 2026-01-25T02:14:25+01:00
    Merge branch 'backport-stc-fix' of github.com:arch1t3cht/wxWidgets into 3.2
    
    Fix wx/stc/stc.h compilation with wxNO_IMPLICIT_WXSTRING_ENCODING.
    
    See #26107.
    
  • 2ebaa0ae
    by Vadim Zeitlin at 2026-01-28T01:19:06+01:00
    Back port macOS 26 controls fixes from 3.3
    
    Fixes for controls appearance under macOS 26 Tahoe and also some fixes
    to their sizes under the previous macOS versions.
    
    (cherry picked from commit b6f1b6d8891f8066cced8092bf7e3d11913f70c0)
    
    See #25767.
    
    Closes #26121.
    
    Co-Authored-By: Richard <61946508+...@users.noreply.github.com>
    
  • c5dddf5e
    by PB at 2026-02-01T21:22:16+01:00
    Add support for MSVS 2026
    
    Update wx_config.props, add MSVS 2026 solutions for the library
    and the minimal sample, and update the docs.
    
    See #26140.
    

35 changed files:

The diff was not included because it is too large.
Reply all
Reply to author
Forward
0 new messages