diff --git a/reactos/base/applications/rapps/gui.cpp b/reactos/base/applications/rapps/gui.cpp index 0a5a925bdde..3e126ebe42d 100644 --- a/reactos/base/applications/rapps/gui.cpp +++ b/reactos/base/applications/rapps/gui.cpp @@ -1023,7 +1023,7 @@ private: /* Check if the item is checked */ if ((pnic->uNewState & LVIS_STATEIMAGEMASK) && !bUpdating) { - BOOL checked = m_ListView->GetCheckState(pnic->iItem); + BOOL checked = ListView_GetCheckState(pnic->hdr.hwndFrom, pnic->iItem); nSelectedApps += (checked) ? 1 : -1; UpdateStatusBarText(); }