1
0
Fork 0
mirror of https://github.com/ocornut/imgui.git synced 2026-01-11 00:04:24 +00:00

Fixed backspace handling on MacOS (fixed https://github.com/ocornut/imgui/issues/2817).

Allow null view passing as parameter to ImGui_ImplOSX_NewFrame
This commit is contained in:
Egor Yusov 2019-09-30 21:16:30 -07:00 committed by omar
parent bf746c4215
commit 378035c6ff
2 changed files with 8 additions and 5 deletions

View file

@ -13,5 +13,5 @@
IMGUI_API bool ImGui_ImplOSX_Init();
IMGUI_API void ImGui_ImplOSX_Shutdown();
IMGUI_API void ImGui_ImplOSX_NewFrame(NSView *_Nonnull view);
IMGUI_API void ImGui_ImplOSX_NewFrame(NSView *_Nullable view);
IMGUI_API bool ImGui_ImplOSX_HandleEvent(NSEvent *_Nonnull event, NSView *_Nullable view);