Backends: Win32: use UnregisterClassW() for matching consistency. (#8423, #7979)

Amend 3293ef8bb
This commit is contained in:
ocornut
2025-02-21 22:12:53 +01:00
parent 773060155f
commit 6acdce78d1

View File

@@ -1411,7 +1411,7 @@ static void ImGui_ImplWin32_InitMultiViewportSupport(bool platform_has_own_dc)
static void ImGui_ImplWin32_ShutdownMultiViewportSupport() static void ImGui_ImplWin32_ShutdownMultiViewportSupport()
{ {
::UnregisterClass(_T("ImGui Platform"), ::GetModuleHandle(nullptr)); ::UnregisterClassW(L"ImGui Platform", ::GetModuleHandle(nullptr));
ImGui::DestroyPlatformWindows(); ImGui::DestroyPlatformWindows();
} }