Fix XRC unknown-control size hints after attach (PR #26725)

7 views
Skip to first unread message

Richard Thomson

unread,
Jul 21, 2026, 11:54:21 PM (20 hours ago) Jul 21
to wx-...@googlegroups.com, Subscribed

Refresh the containing top-level window's sizer hints after an unknown control is reparented into its placeholder. This lets wxPanel-derived controls with their own size hints expand the dialog instead of staying clipped at the placeholder's original size.

Add a regression test covering a panel attached to an unknown XRC placeholder.

Fixes #2726


You can view, comment on, or merge this pull request online at:

  https://github.com/wxWidgets/wxWidgets/pull/26725

Commit Summary

  • b788a69 Fix XRC unknown-control size hints after attach

File Changes

(2 files)

Patch Links:


Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/26725@github.com>

Reply all
Reply to author
Forward
0 new messages