1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-21 14:02:57 +02:00

Include tips in command list.

This commit is contained in:
James Crook
2018-02-10 14:11:31 +00:00
committed by Paul Licameli
parent 5c2f35d96f
commit 1551a5a073
3 changed files with 31 additions and 0 deletions

View File

@@ -56,6 +56,8 @@ void CommandMessageTarget::EndStruct(){
Update( " }" );
}
void CommandMessageTarget::AddItem(const wxString &value, const wxString &name){
wxString Temp = value;
Temp.Replace("\"", "\\\"");// escape spaces.
Update( wxString::Format( "%s%s%s\"%s\"", (mCounts.Last()>0)?", ":"", name, !name.IsEmpty()?":":"",value));
mCounts.Last() += 1;
}