summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mir_core/src/CCtrlCheck.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mir_core/src/CCtrlCheck.cpp b/src/mir_core/src/CCtrlCheck.cpp
index 01f4773a6d..56cf6cec45 100644
--- a/src/mir_core/src/CCtrlCheck.cpp
+++ b/src/mir_core/src/CCtrlCheck.cpp
@@ -51,12 +51,13 @@ void CCtrlCheck::OnReset()
int CCtrlCheck::GetState()
{
- return SendMessage(m_hwnd, BM_GETCHECK, 0, 0);
+ return ::SendMessage(m_hwnd, BM_GETCHECK, 0, 0);
}
void CCtrlCheck::SetState(int state)
{
- SendMessage(m_hwnd, BM_SETCHECK, state, 0);
+ ::SendMessage(m_hwnd, BM_SETCHECK, state, 0);
+ NotifyChange();
}
bool CCtrlCheck::IsChecked()