X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a01fe3d6d24dcecdd1c7e27fd9499a96cf8cec5e..11c084163e3702692586f70a9414dca97bb2a2d6:/src/common/framecmn.cpp diff --git a/src/common/framecmn.cpp b/src/common/framecmn.cpp index 87911b477f..cf0fbc201d 100644 --- a/src/common/framecmn.cpp +++ b/src/common/framecmn.cpp @@ -411,7 +411,7 @@ void wxFrameBase::DoMenuUpdates(wxMenu* menu, wxWindow* focusWin) } if (item->GetSubMenu()) - DoMenuUpdates(item->GetSubMenu(), (wxWindow*) NULL); + DoMenuUpdates(item->GetSubMenu(), focusWin); } node = node->GetNext(); }