Checkbox* StatisticsCheckbox = (Checkbox*)WindowManager::getSingleton().getWindow
("TT3D-Viewer/HUD_Window/Statistics_Checkbox");
enabled_statistics = StatisticsCheckbox->isSelected();
Thanks.

lindquist wrote:
It looks fine. what are you saying the problem is?