Backends: avoid missing -Wmissing-declaration warning. (#8087, #7997)

This commit is contained in:
ocornut
2024-10-24 17:24:47 +02:00
parent b4033b37ad
commit a908d73c16
6 changed files with 6 additions and 0 deletions

View File

@@ -421,6 +421,7 @@ void ImGui_ImplWin32_NewFrame()
// Map VK_xxx to ImGuiKey_xxx.
// Not static to allow third-party code to use that if they want to (but undocumented)
ImGuiKey ImGui_ImplWin32_KeyEventToImGuiKey(WPARAM wParam, LPARAM lParam);
ImGuiKey ImGui_ImplWin32_KeyEventToImGuiKey(WPARAM wParam, LPARAM lParam)
{
// There is no distinct VK_xxx for keypad enter, instead it is VK_RETURN + KF_EXTENDED.