Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support WinAppSDK + cppwinrt 2.240111.5 #12862

Merged
merged 3 commits into from Mar 28, 2024
Merged

Conversation

rozele
Copy link
Collaborator

@rozele rozele commented Mar 20, 2024

Description

Type of Change

Erase all that don't apply.

  • Bug fix (non-breaking change which fixes an issue)

Why

See microsoft/cppwinrt#1393

What

We need to first convert the WinUI 3 control to IControlProtected to access GetTemplateChild.

Testing

Compiled with WinAppSDK and cppwinrt v2.0.240111.5

Changelog

Should this change be included in the release notes: no

Microsoft Reviewers: Open in CodeFlow

See microsoft/cppwinrt#1393

We need to first convert the WinUI 3 control to IControlProtected to
access GetTemplateChild.
@rozele rozele requested review from a team as code owners March 20, 2024 18:55
@acoates-ms
Copy link
Contributor

Why is this only an issue with WinUI3? Wasn't this method protected in WinUI2 too?
Wouldn't the cast work in both?

@rozele
Copy link
Collaborator Author

rozele commented Mar 23, 2024

Why is this only an issue with WinUI3? Wasn't this method protected in WinUI2 too? Wouldn't the cast work in both?

@acoates-ms Just noticed this as well when trying to use the upgraded version of cppwinrt with a UWP / WinUI2 app

@acoates-ms acoates-ms merged commit 467a8d5 into microsoft:main Mar 28, 2024
48 checks passed
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.

None yet

2 participants