Mercurial > vim
comparison 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 |
comparison
equal
deleted
inserted
replaced
19525:619eb9bc3249 | 19526:22f0dda71638 |
---|---|
3641 #ifdef FEAT_GUI_MSWIN | 3641 #ifdef FEAT_GUI_MSWIN |
3642 UINT id; // Id of menu item | 3642 UINT id; // Id of menu item |
3643 HMENU submenu_id; // If this is submenu, add children here | 3643 HMENU submenu_id; // If this is submenu, add children here |
3644 HWND tearoff_handle; // hWnd of tearoff if created | 3644 HWND tearoff_handle; // hWnd of tearoff if created |
3645 #endif | 3645 #endif |
3646 #if FEAT_GUI_HAIKU | |
3647 BMenuItem *id; // Id of menu item | |
3648 BMenu *submenu_id; // If this is submenu, add children here | |
3649 # ifdef FEAT_TOOLBAR | |
3650 BPictureButton *button; | |
3651 # endif | |
3652 #endif | |
3646 #ifdef FEAT_GUI_MAC | 3653 #ifdef FEAT_GUI_MAC |
3647 // MenuHandle id; | 3654 // MenuHandle id; |
3648 // short index; // the item index within the father menu | 3655 // short index; // the item index within the father menu |
3649 short menu_id; // the menu id to which this item belongs | 3656 short menu_id; // the menu id to which this item belongs |
3650 short submenu_id; // the menu id of the children (could be | 3657 short submenu_id; // the menu id of the children (could be |