Procházet zdrojové kódy

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

Amend 3293ef8bb
ocornut před 6 měsíci
rodič
revize
6acdce78d1
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      backends/imgui_impl_win32.cpp

+ 1 - 1
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();
 }