ui/winui/App.xaml.h

Tue, 18 Nov 2025 13:40:15 +0100

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Tue, 18 Nov 2025 13:40:15 +0100
changeset 908
54150a21abb4
parent 205
b1ac0dd1d38b
permissions
-rw-r--r--

update label first, before freeing the old value in ui_label_set (Motif)

// Copyright (c) Microsoft Corporation and Contributors.
// Licensed under the MIT License.

#pragma once

#include "App.xaml.g.h"

namespace winrt::winui::implementation
{
    struct App : AppT<App>
    {
        App();

        void OnLaunched(Microsoft::UI::Xaml::LaunchActivatedEventArgs const&);

    private:
        winrt::Microsoft::UI::Xaml::Window window{ nullptr };
    };
}

mercurial