Backends: Win32: avoid skipping DefWindowProc() on WM_CLOSE.

Mostly because I don't have a trace of why I did it this way, even in viewport branch history.
This commit is contained in:
ocornut 2024-06-20 17:39:19 -07:00
parent 2ebb4e931d
commit 3acb869a95

View File

@ -1265,7 +1265,7 @@ static LRESULT CALLBACK ImGui_ImplWin32_WndProcHandler_PlatformWindow(HWND hWnd,
{
case WM_CLOSE:
viewport->PlatformRequestClose = true;
return 0;
break;
case WM_MOVE:
viewport->PlatformRequestMove = true;
break;