Updates
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
using Microsoft.UI.Xaml;
|
||||
using Microsoft.Xaml.Interactions.Core;
|
||||
using Microsoft.Xaml.Interactivity;
|
||||
using Toolkit.Foundation;
|
||||
|
||||
namespace Toolkit.UI.WinUI;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
using Microsoft.Xaml.Interactions.Core;
|
||||
using Microsoft.Xaml.Interactivity;
|
||||
using System;
|
||||
using System.ComponentModel;
|
||||
using System.Globalization;
|
||||
|
||||
@@ -10,16 +10,15 @@
|
||||
win10-x86;win10-x64;win10-arm64
|
||||
</RuntimeIdentifiers>
|
||||
<UseWinUI>true</UseWinUI>
|
||||
<WindowsSdkPackageVersion>10.0.19041.41</WindowsSdkPackageVersion>
|
||||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
||||
<Nullable>enable</Nullable>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Microsoft.Windows.SDK.BuildTools" Version="10.0.26100.1742" />
|
||||
<PackageReference Include="Microsoft.WindowsAppSDK" Version="1.6.241114003" />
|
||||
<PackageReference Include="WinUIEx" Version="2.5.0" />
|
||||
<PackageReference Include="Microsoft.Xaml.Behaviors.WinUI.Managed" Version="2.0.9" />
|
||||
<PackageReference Include="Microsoft.WindowsAppSDK" Version="1.6.250108002" />
|
||||
<PackageReference Include="WinUIEx" Version="2.5.1" />
|
||||
<PackageReference Include="Microsoft.Xaml.Behaviors.WinUI.Managed" Version="3.0.0" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
||||
@@ -166,7 +166,7 @@ public static partial class WindowExtensions
|
||||
HBRUSH hBrush = PInvoke.CreateSolidBrush(new COLORREF((uint)ToWin32(Color.Black)));
|
||||
_ = PInvoke.FillRect(new HDC((nint)wParam.Value),
|
||||
&rect, hBrush);
|
||||
_ = PInvoke.DeleteObject(new HGDIOBJ(hBrush));
|
||||
_ = PInvoke.DeleteObject(new HGDIOBJ((void*)hBrush));
|
||||
|
||||
return new LRESULT(1);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user