From 6f38298ad839257ad2769cc55527b8a0e98e2975 Mon Sep 17 00:00:00 2001 From: James Crook Date: Mon, 17 Apr 2017 11:00:23 +0100 Subject: [PATCH] Show default checked checkboxes (only) in menu listing. --- src/commands/ScreenshotCommand.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/ScreenshotCommand.cpp b/src/commands/ScreenshotCommand.cpp index 2368daf13..1ab2c0793 100644 --- a/src/commands/ScreenshotCommand.cpp +++ b/src/commands/ScreenshotCommand.cpp @@ -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 );