Skip to content

Commit 91ec8ad

Browse files
committed
Refactor Windows message dialog implementation
Split MessageDialog implementation for Windows into separate Win32 and WinUI3 files, with conditional inclusion based on the WINUI3_ENABLED flag. Win32 uses MessageBoxW, while WinUI3 uses ContentDialog via Windows App SDK. Also, update WindowId generation to use IdAllocator for uniqueness and consistency, and fix WindowManager to use the new WindowId logic.
1 parent d6119a0 commit 91ec8ad

File tree

6 files changed

+523
-376
lines changed

6 files changed

+523
-376
lines changed

src/platform/windows/menu_windows.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#include <windows.h>
2+
#include <cmath>
23
#include <cstring>
34
#include <functional>
45
#include <iostream>

0 commit comments

Comments
 (0)