1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-15 15:49:36 +02:00

Fix build of mod-null

This commit is contained in:
Paul Licameli 2018-10-18 10:38:04 -04:00
parent fcfc5d0f36
commit d46532623a

View File

@ -158,18 +158,19 @@ int ModuleDispatch(ModuleDispatchTypes type)
c->SetCurrentMenu( pMenu );
c->AddSeparator();
c->SetDefaultFlags(AudioIONotBusyFlag, AudioIONotBusyFlag);
// We add two new commands into the Analyze menu.
c->AddItem(
_T("A New Command"), // internal name
_T("1st Experimental Command"), //displayed name
true, // has dialog
ModNullFN( OnFuncFirst ) );
ModNullFN( OnFuncFirst ),
AudioIONotBusyFlag );
c->AddItem(
_T("Another New Command"),
_T("2nd Experimental Command"),
false, // no dialog
ModNullFN( OnFuncSecond ) );
ModNullFN( OnFuncSecond ),
AudioIONotBusyFlag );
c->ClearCurrentMenu();
}
break;