]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/framecmn.cpp
include "wx/module.h" for wxModule
[wxWidgets.git] / src / common / framecmn.cpp
index 87911b477f00db9c7ac20443988bf7888a0586d7..cf0fbc201de5c3b715101e231e42b3c21aebb9d5 100644 (file)
@@ -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();
     }