Mercurial > vim
diff src/structs.h @ 19526:22f0dda71638 v8.2.0320
patch 8.2.0320: no Haiku support
Commit: https://github.com/vim/vim/commit/b3f740695a0199d22cd97aee314f06c7ae32d2ea
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Feb 26 16:16:53 2020 +0100
patch 8.2.0320: no Haiku support
Problem: No Haiku support.
Solution: Add support for Haiku. (Emir Sari, closes https://github.com/vim/vim/issues/5605)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 26 Feb 2020 16:30:04 +0100 |
parents | 020056c2fd39 |
children | ad37a198a708 |
line wrap: on
line diff
--- 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