Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/kornelski/7z.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'CPP/Windows/Menu.h')
-rwxr-xr-xCPP/Windows/Menu.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/CPP/Windows/Menu.h b/CPP/Windows/Menu.h
index 9e0d375c..aa800a61 100755
--- a/CPP/Windows/Menu.h
+++ b/CPP/Windows/Menu.h
@@ -119,6 +119,9 @@ public:
{ return BOOLToBool(::CheckMenuRadioItem(_menu, idFirst, idLast, idCheck, flags)); }
DWORD CheckItem(UINT id, UINT uCheck)
{ return ::CheckMenuItem(_menu, id, uCheck); }
+
+ BOOL EnableItem(UINT uIDEnableItem, UINT uEnable)
+ { return EnableMenuItem(_menu, uIDEnableItem, uEnable); }
};
class CMenuDestroyer