ui/winui/App.xaml.h

Thu, 11 Jun 2026 20:35:37 +0200

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Thu, 11 Jun 2026 20:35:37 +0200
changeset 1190
7dcd5994c9a5
parent 205
b1ac0dd1d38b
permissions
-rw-r--r--

only init global menubar, when menus were created (Cocoa)

// 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