summaryrefslogtreecommitdiff
path: root/src/structs.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-02-26 16:16:53 +0100
committerBram Moolenaar <Bram@vim.org>2020-02-26 16:16:53 +0100
commitb3f740695a0199d22cd97aee314f06c7ae32d2ea (patch)
tree8221662bb578d80a7a044f8a20aef09394a5a1a8 /src/structs.h
parentd672dde584effd55702ee15efec4cb2a8c77bf85 (diff)
downloadvim-git-b3f740695a0199d22cd97aee314f06c7ae32d2ea.tar.gz
patch 8.2.0320: no Haiku supportv8.2.0320
Problem: No Haiku support. Solution: Add support for Haiku. (Emir Sari, closes #5605)
Diffstat (limited to 'src/structs.h')
-rw-r--r--src/structs.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/structs.h b/src/structs.h
index e68c1f906..76d45ea8f 100644
--- a/src/structs.h
+++ b/src/structs.h
@@ -3643,6 +3643,13 @@ struct VimMenu
HMENU submenu_id; // If this is submenu, add children here
HWND tearoff_handle; // hWnd of tearoff if created
#endif
+#if FEAT_GUI_HAIKU
+ BMenuItem *id; // Id of menu item
+ BMenu *submenu_id; // If this is submenu, add children here
+# ifdef FEAT_TOOLBAR
+ BPictureButton *button;
+# endif
+#endif
#ifdef FEAT_GUI_MAC
// MenuHandle id;
// short index; // the item index within the father menu