[NTUSER][USER32] Remove 4 remnant defines (#5572)

IS_SYSTEM_MENU():
"moved" to ntuser on 6dfa71c (r68904).

IS_SYSTEM_POPUP():
uselessly added on 6fc29cc (r8195).

IS_BITMAP_ITEM():
uses removed on 07b6ddc (r23221).
uselessly copied to ntuser on 6dfa71c (r68904).
This commit is contained in:
Serge Gautherie 2023-08-13 21:47:01 +02:00 committed by Hermès Bélusca-Maïto
parent 9e6b3f4bbd
commit 728d5736d9
No known key found for this signature in database
GPG key ID: 3B2539C65E7B93D0
2 changed files with 0 additions and 10 deletions

View file

@ -60,8 +60,6 @@ BOOL fInEndMenu = FALSE;
#define IS_SYSTEM_MENU(MenuInfo) \
(!((MenuInfo)->fFlags & MNF_POPUP) && ((MenuInfo)->fFlags & MNF_SYSMENU))
#define IS_BITMAP_ITEM(flags) (MF_BITMAP == MENU_ITEM_TYPE(flags))
#define IS_MAGIC_BITMAP(id) ((id) && ((INT_PTR)(id) < 12) && ((INT_PTR)(id) >= -1))
#define IS_STRING_ITEM(flags) (MF_STRING == MENU_ITEM_TYPE(flags))

View file

@ -42,14 +42,6 @@ WINE_DEFAULT_DEBUG_CHANNEL(menu);
#define IS_STRING_ITEM(flags) (MF_STRING == MENU_ITEM_TYPE(flags))
#define IS_MAGIC_BITMAP(id) ((id) && ((INT_PTR)(id) < 12) && ((INT_PTR)(id) >= -1))
#define IS_SYSTEM_MENU(MenuInfo) \
(0 == ((MenuInfo)->fFlags & MNF_POPUP) && 0 != ((MenuInfo)->fFlags & MNF_SYSMENU))
#define IS_SYSTEM_POPUP(MenuInfo) \
(0 != ((MenuInfo)->fFlags & MNF_POPUP) && 0 != ((MenuInfo)->fFlags & MNF_SYSMENU))
#define IS_BITMAP_ITEM(flags) (MF_BITMAP == MENU_ITEM_TYPE(flags))
/*********************************************************************
* PopupMenu class descriptor
*/