X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/75f11ad7ca4201f7e2626a2bf5ad84a01296eb4a..7b9da2077d0975db6c965a85c91d5aca671ab5e3:/src/os2/mdi.cpp diff --git a/src/os2/mdi.cpp b/src/os2/mdi.cpp index b30e8d41d7..33756f0792 100644 --- a/src/os2/mdi.cpp +++ b/src/os2/mdi.cpp @@ -910,7 +910,7 @@ bool wxMDIChildFrame::HandleCommand(WXWORD id, WXWORD cmd, WXHWND hwnd) // return TRUE; } - if (GetMenuBar() && GetMenuBar()->FindItemForId(id)) + if (GetMenuBar() && GetMenuBar()->FindItem(id)) { ProcessCommand(id); return TRUE;