From 4e17258f8607de9aff81bcbd84df08ccef07b00d Mon Sep 17 00:00:00 2001 From: cxl Date: Thu, 13 Feb 2020 20:10:08 +0000 Subject: [PATCH] .upptst git-svn-id: svn://ultimatepp.org/upp/trunk@14005 f0d560ea-af0d-0410-9eb7-867de7ffcac7 --- upptst/TestChStyle/main.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/upptst/TestChStyle/main.cpp b/upptst/TestChStyle/main.cpp index 2b5b53b87..e1b1b3be4 100644 --- a/upptst/TestChStyle/main.cpp +++ b/upptst/TestChStyle/main.cpp @@ -25,6 +25,8 @@ TestChStyle::TestChStyle() bar.Add(false, "Disabled", [] {}); static bool check; bar.Add("Check", [] { check = !check; }).Check(check); + static bool radio; + bar.Add("Radio", [] { radio = !radio; }).Radio(radio); bar.Separator(); bar.Sub("Submenu", [](Bar& bar) { bar.Add("Something", []{}); }); });