]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/window.cpp
Fixed BCC compilation warning if wxUSE_HELP was 1
[wxWidgets.git] / src / os2 / window.cpp
index 82ffd920ea6a21c39f6410235840cf790df81313..94d3060d5e1b3deb8e471ee948d0762c3fc60343 100644 (file)
@@ -2848,7 +2848,7 @@ bool wxWindow::OS2OnMeasureItem(
             return FALSE;
         }
     }
-    wxWindow*                      pItem = FindItem(id);
+    wxWindow*                      pItem = FindItem(lId);
 
     if (pItem && pItem->IsKindOf(CLASSINFO(wxControl)))
     {