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

Show default checked checkboxes (only) in menu listing.

This commit is contained in:
James Crook
2017-04-17 11:00:23 +01:00
parent 24c2c6e070
commit 6f38298ad8

View File

@@ -290,7 +290,7 @@ void ExploreMenu( wxMenu * pMenu, int Id, int depth ){
int flags = 0;
if (item->IsSubMenu())
flags +=1;
if (item->IsCheck() )
if (item->IsCheck() && item->IsChecked())
flags +=2;
wxLogDebug("T.Add( %2i, %2i, 0, new wxString(\"%s<>%s\") );", depth, flags, Label,Accel );