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