diff --git a/backends/imgui_impl_win32.cpp b/backends/imgui_impl_win32.cpp index 433df8ea9..30776608d 100644 --- a/backends/imgui_impl_win32.cpp +++ b/backends/imgui_impl_win32.cpp @@ -1411,7 +1411,7 @@ static void ImGui_ImplWin32_InitMultiViewportSupport(bool platform_has_own_dc) static void ImGui_ImplWin32_ShutdownMultiViewportSupport() { - ::UnregisterClass(_T("ImGui Platform"), ::GetModuleHandle(nullptr)); + ::UnregisterClassW(L"ImGui Platform", ::GetModuleHandle(nullptr)); ImGui::DestroyPlatformWindows(); }