#include "stdafx.h" #include "UIHelper.h" #include "KUIControlButton.h" bool setCheckBox(KUIWnd* wnd, char const* controlID, bool check) { KUIControlCheck* control = static_cast(wnd->GetChild(controlID)); if (!control) return false; control->SetCheck(check); return true; }