mirror of
https://github.com/Drezil/imgui.git
synced 2025-07-13 08:19:55 +02:00
Fixed implicit conversion of NULL constant to bool (fix #216)
This commit is contained in:
2
imgui.h
2
imgui.h
@ -359,7 +359,7 @@ namespace ImGui
|
|||||||
|
|
||||||
// Widgets: Menus
|
// Widgets: Menus
|
||||||
// FIXME-WIP: v1.39 in development
|
// FIXME-WIP: v1.39 in development
|
||||||
IMGUI_API bool MenuItem(const char* label, const char* shortcut = NULL, bool selected = NULL); // bool enabled = true
|
IMGUI_API bool MenuItem(const char* label, const char* shortcut = NULL, bool selected = false); // bool enabled = true
|
||||||
IMGUI_API bool MenuItem(const char* label, const char* shortcut, bool* p_selected); // bool enabled = true
|
IMGUI_API bool MenuItem(const char* label, const char* shortcut, bool* p_selected); // bool enabled = true
|
||||||
|
|
||||||
// Widgets: Value() Helpers. Output single value in "name: value" format (tip: freely declare your own within the ImGui namespace!)
|
// Widgets: Value() Helpers. Output single value in "name: value" format (tip: freely declare your own within the ImGui namespace!)
|
||||||
|
Reference in New Issue
Block a user