diff options
Diffstat (limited to 'src/nigui')
| -rwxr-xr-x | src/nigui/private/windows/platform_impl.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nigui/private/windows/platform_impl.nim b/src/nigui/private/windows/platform_impl.nim index b77f612..c94224e 100755 --- a/src/nigui/private/windows/platform_impl.nim +++ b/src/nigui/private/windows/platform_impl.nim @@ -1426,7 +1426,7 @@ method `enabled=`(checkbox: NativeCheckbox, enabled: bool) = checkbox.fEnabled = enabled discard EnableWindow(checkbox.fHandle, enabled) -method isChecked(checkbox: NativeCheckbox): bool = +method checked(checkbox: NativeCheckbox): bool = result = cast[int](SendMessageA(checkbox.fHandle, BM_GETCHECK, nil, nil)) == BST_CHECKED |
