X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/45bfc84b20112373b5ee5fd5a910c96b342e6e71..a0b1b91fe6ea9ee743ca658cb427d64052a8f57b:/src/os2/window.cpp diff --git a/src/os2/window.cpp b/src/os2/window.cpp index 82ffd920ea..94d3060d5e 100644 --- a/src/os2/window.cpp +++ b/src/os2/window.cpp @@ -2848,7 +2848,7 @@ bool wxWindow::OS2OnMeasureItem( return FALSE; } } - wxWindow* pItem = FindItem(id); + wxWindow* pItem = FindItem(lId); if (pItem && pItem->IsKindOf(CLASSINFO(wxControl))) {