Skip to content

Commit 0ee26e6

Browse files
authored
Merge pull request #568 from CommunityToolkit/wasdk/1.6
Update Microsoft.WindowsAppSDK to 1.6-preview2
2 parents 0d89e01 + a3e04cc commit 0ee26e6

File tree

4 files changed

+17
-5
lines changed

4 files changed

+17
-5
lines changed

components/TitleBar/src/InfoHelper.cs

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
1-
#if WINAPPSDK
1+
// Licensed to the .NET Foundation under one or more agreements.
2+
// The .NET Foundation licenses this file to you under the MIT license.
3+
// See the LICENSE file in the project root for more information.
4+
5+
#if WINAPPSDK
26
using Windows.ApplicationModel;
37
using Windows.Storage;
48
using Windows.System.Profile;
@@ -33,4 +37,4 @@ static InfoHelper()
3337
);
3438
}
3539
}
36-
#endif
40+
#endif

components/TitleBar/src/NativeMethods.cs

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
1-
#if WINAPPSDK
1+
// Licensed to the .NET Foundation under one or more agreements.
2+
// The .NET Foundation licenses this file to you under the MIT license.
3+
// See the LICENSE file in the project root for more information.
4+
5+
#if WINAPPSDK
26
using System.Runtime.InteropServices;
37

48
namespace CommunityToolkit.WinUI.Controls;
@@ -83,4 +87,4 @@ public static IntPtr SetWindowLongAuto(IntPtr hWnd, int nIndex, IntPtr dwNewLong
8387
[DllImport("user32.dll")]
8488
public static extern IntPtr CallWindowProc(IntPtr lpPrevWndFunc, IntPtr hWnd, WindowMessage Msg, IntPtr wParam, IntPtr lParam);
8589
}
86-
#endif
90+
#endif

components/TitleBar/src/WndProcHelper.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// Licensed to the .NET Foundation under one or more agreements.
2+
// The .NET Foundation licenses this file to you under the MIT license.
3+
// See the LICENSE file in the project root for more information.
4+
15
#if WINAPPSDK
26
using System.Runtime.InteropServices;
37
using WinRT.Interop;

0 commit comments

Comments
 (0)