diff --git a/base/shell/explorer/traywnd.cpp b/base/shell/explorer/traywnd.cpp index 9ca7b25781c..bf71ad0e172 100644 --- a/base/shell/explorer/traywnd.cpp +++ b/base/shell/explorer/traywnd.cpp @@ -2993,7 +2993,7 @@ public: MF_BYCOMMAND); } - CheckMenuItem(hPopup, + CheckMenuItem(menubase, ID_LOCKTASKBAR, MF_BYCOMMAND | (g_TaskbarSettings.bLock ? MF_CHECKED : MF_UNCHECKED));