Skip to content

Commit

Permalink
Merge pull request #568 from CommunityToolkit/wasdk/1.6
Browse files Browse the repository at this point in the history
Update Microsoft.WindowsAppSDK to 1.6-preview2
  • Loading branch information
Arlodotexe authored Sep 6, 2024
2 parents 0d89e01 + a3e04cc commit 0ee26e6
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 5 deletions.
8 changes: 6 additions & 2 deletions components/TitleBar/src/InfoHelper.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
#if WINAPPSDK
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.

#if WINAPPSDK
using Windows.ApplicationModel;
using Windows.Storage;
using Windows.System.Profile;
Expand Down Expand Up @@ -33,4 +37,4 @@ static InfoHelper()
);
}
}
#endif
#endif
8 changes: 6 additions & 2 deletions components/TitleBar/src/NativeMethods.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
#if WINAPPSDK
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.

#if WINAPPSDK
using System.Runtime.InteropServices;

namespace CommunityToolkit.WinUI.Controls;
Expand Down Expand Up @@ -83,4 +87,4 @@ public static IntPtr SetWindowLongAuto(IntPtr hWnd, int nIndex, IntPtr dwNewLong
[DllImport("user32.dll")]
public static extern IntPtr CallWindowProc(IntPtr lpPrevWndFunc, IntPtr hWnd, WindowMessage Msg, IntPtr wParam, IntPtr lParam);
}
#endif
#endif
4 changes: 4 additions & 0 deletions components/TitleBar/src/WndProcHelper.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.

#if WINAPPSDK
using System.Runtime.InteropServices;
using WinRT.Interop;
Expand Down
2 changes: 1 addition & 1 deletion tooling

0 comments on commit 0ee26e6

Please sign in to comment.