mirror of
https://github.com/cookiengineer/audacity
synced 2025-05-02 00:29:41 +02:00
Eliminate type alias CommandMask
This commit is contained in:
parent
6c6d0b869e
commit
9a4c18255e
@ -26,7 +26,6 @@ static_assert(
|
||||
|
||||
// Type to specify conditions for enabling of a menu item
|
||||
using CommandFlag = std::bitset<NCommandFlags>;
|
||||
using CommandMask = CommandFlag;
|
||||
|
||||
// Special constant values
|
||||
constexpr CommandFlag
|
||||
|
@ -1021,7 +1021,8 @@ void CommandManager::SetKeyFromIndex(int i, const NormalizedKeyString &key)
|
||||
entry->key = key;
|
||||
}
|
||||
|
||||
void CommandManager::TellUserWhyDisallowed( const wxString & Name, CommandFlag flagsGot, CommandMask flagsRequired )
|
||||
void CommandManager::TellUserWhyDisallowed(
|
||||
const wxString & Name, CommandFlag flagsGot, CommandFlag flagsRequired )
|
||||
{
|
||||
// The default string for 'reason' is a catch all. I hope it won't ever be seen
|
||||
// and that we will get something more specific.
|
||||
|
Loading…
x
Reference in New Issue
Block a user