diff options
author | Daniel Wilhelm <daniel@wili.li> | 2016-05-31 16:38:45 +0200 |
---|---|---|
committer | Daniel Wilhelm <daniel@wili.li> | 2016-05-31 16:38:45 +0200 |
commit | be08c6c09a3026da628daf2425516beda1557bb3 (patch) | |
tree | 062cc2f6a1e5ba5a2fdcb53549cc09c4ff5d062a /wx+/context_menu.h | |
parent | 8.1 (diff) | |
download | FreeFileSync-be08c6c09a3026da628daf2425516beda1557bb3.tar.gz FreeFileSync-be08c6c09a3026da628daf2425516beda1557bb3.tar.bz2 FreeFileSync-be08c6c09a3026da628daf2425516beda1557bb3.zip |
8.2
Diffstat (limited to 'wx+/context_menu.h')
-rw-r--r-- | wx+/context_menu.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/wx+/context_menu.h b/wx+/context_menu.h index 9c30cb98..02fa44dc 100644 --- a/wx+/context_menu.h +++ b/wx+/context_menu.h @@ -47,10 +47,10 @@ public: commandList[newItem->GetId()] = command; } - void addRadio(const wxString& label, const std::function<void()>& command, bool checked, bool enabled = true) + void addRadio(const wxString& label, const std::function<void()>& command, bool selected, bool enabled = true) { wxMenuItem* newItem = menu->AppendRadioItem(wxID_ANY, label); - newItem->Check(checked); + newItem->Check(selected); if (!enabled) newItem->Enable(false); commandList[newItem->GetId()] = command; } |