Further dark magic, no pun intended. Now for the menu bar.

This commit is contained in:
Henrik Rydgård committed 2023-01-12 00:41:25 +01:00
1 parent 62e5a5dfc3
commit 8037eaa456
5 files changed
+209 -10

No files matched your search

+6
View File
@@ -57,6 +57,7 @@
#include "Windows/GEDebugger/GEDebugger.h"
#endif
#include "Windows/W32Util/DarkMode.h"
#include "Windows/W32Util/UAHMenuBar.h"
#include "Windows/Debugger/Debugger_Disasm.h"
#include "Windows/Debugger/Debugger_MemoryDlg.h"
@@ -730,6 +731,11 @@ namespace MainWindow
}
LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam) {
LRESULT darkResult = 0;
if (UAHDarkModeWndProc(hWnd, message, wParam, lParam, &darkResult)) {
return darkResult;
}
switch (message) {
case WM_CREATE:
if (!DoesVersionMatchWindows(6, 0, 0, 0, true)) {