X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/29435d814db9ce39543481543de199519e26175e..8a28f119c8864aa53bc1c33bf57aa9976f358f3b:/src/os2/frame.cpp diff --git a/src/os2/frame.cpp b/src/os2/frame.cpp index e15c049b13..3464ed3300 100644 --- a/src/os2/frame.cpp +++ b/src/os2/frame.cpp @@ -685,7 +685,7 @@ bool wxFrame::ProcessCommand(int id) if ( !bar ) return FALSE; - wxMenuItem *item = bar->FindItemForId(id); + wxMenuItem *item = bar->FindItem(id); if ( item && item->IsCheckable() ) {