mirror of
https://github.com/vicr123/the-libs.git
synced 2025-01-23 19:02:07 -05:00
Maybe fix CI?
This commit is contained in:
parent
a2b51a1600
commit
3bd92ac4cb
1 changed files with 1 additions and 3 deletions
|
@ -18,8 +18,6 @@
|
||||||
|
|
||||||
#include <Sdkddkver.h>
|
#include <Sdkddkver.h>
|
||||||
|
|
||||||
#pragma comment(lib, "windowsapp")
|
|
||||||
|
|
||||||
#undef NTDDI_VERSION
|
#undef NTDDI_VERSION
|
||||||
#define NTDDI_VERSION NTDDI_WIN10
|
#define NTDDI_VERSION NTDDI_WIN10
|
||||||
|
|
||||||
|
@ -84,7 +82,7 @@ void tNotification::post(bool deleteWhenDone) {
|
||||||
toastXml.LoadXml(xmlContents.toStdWString());
|
toastXml.LoadXml(xmlContents.toStdWString());
|
||||||
|
|
||||||
ToastNotification toast(toastXml);
|
ToastNotification toast(toastXml);
|
||||||
toast.Dismissed([=](const ToastNotification& sender, const ToastDismissedEventArgs& args) {
|
toast.Dismissed([=](ToastNotification sender, ToastDismissedEventArgs args) {
|
||||||
if (isTransient && args.Reason() != ToastDismissalReason::ApplicationHidden) {
|
if (isTransient && args.Reason() != ToastDismissalReason::ApplicationHidden) {
|
||||||
ToastNotificationManager::CreateToastNotifier(amuid.toStdWString()).Hide(sender);
|
ToastNotificationManager::CreateToastNotifier(amuid.toStdWString()).Hide(sender);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue