X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a01fe3d6d24dcecdd1c7e27fd9499a96cf8cec5e..0b49ccf8d66e2568e2b0de85c25b406aad39f3b1:/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(); }