mirror of
https://github.com/cookiengineer/audacity
synced 2025-06-25 08:38:39 +02:00
Tweak menu screenshot code (show check/submenu options)
This commit is contained in:
parent
c4484a44ef
commit
96534c0114
@ -287,7 +287,13 @@ void ExploreMenu( wxMenu * pMenu, int Id, int depth ){
|
||||
Accel = "";
|
||||
if( item->IsSeparator() )
|
||||
Label = "----";
|
||||
wxLogDebug("%2i,%s,%s", depth, Label,Accel );
|
||||
int flags = 0;
|
||||
if (item->IsSubMenu())
|
||||
flags +=1;
|
||||
if (item->IsCheck() )
|
||||
flags +=2;
|
||||
|
||||
wxLogDebug("T.Add( %2i, %2i, new wxString(\"%sŹ%s\") );", depth, flags, Label,Accel );
|
||||
if (item->IsSubMenu()) {
|
||||
pMenu = item->GetSubMenu();
|
||||
ExploreMenu( pMenu, item->GetId(), depth+1 );
|
||||
|
Loading…
x
Reference in New Issue
Block a user