mirror of
https://github.com/cookiengineer/audacity
synced 2025-09-17 16:50:26 +02:00
Fix build of mod-null
This commit is contained in:
parent
fcfc5d0f36
commit
d46532623a
@ -158,18 +158,19 @@ int ModuleDispatch(ModuleDispatchTypes type)
|
|||||||
|
|
||||||
c->SetCurrentMenu( pMenu );
|
c->SetCurrentMenu( pMenu );
|
||||||
c->AddSeparator();
|
c->AddSeparator();
|
||||||
c->SetDefaultFlags(AudioIONotBusyFlag, AudioIONotBusyFlag);
|
|
||||||
// We add two new commands into the Analyze menu.
|
// We add two new commands into the Analyze menu.
|
||||||
c->AddItem(
|
c->AddItem(
|
||||||
_T("A New Command"), // internal name
|
_T("A New Command"), // internal name
|
||||||
_T("1st Experimental Command"), //displayed name
|
_T("1st Experimental Command"), //displayed name
|
||||||
true, // has dialog
|
true, // has dialog
|
||||||
ModNullFN( OnFuncFirst ) );
|
ModNullFN( OnFuncFirst ),
|
||||||
|
AudioIONotBusyFlag );
|
||||||
c->AddItem(
|
c->AddItem(
|
||||||
_T("Another New Command"),
|
_T("Another New Command"),
|
||||||
_T("2nd Experimental Command"),
|
_T("2nd Experimental Command"),
|
||||||
false, // no dialog
|
false, // no dialog
|
||||||
ModNullFN( OnFuncSecond ) );
|
ModNullFN( OnFuncSecond ),
|
||||||
|
AudioIONotBusyFlag );
|
||||||
c->ClearCurrentMenu();
|
c->ClearCurrentMenu();
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user