]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/framecmn.cpp
fixing modal dialog quit after nested message box problem
[wxWidgets.git] / src / common / framecmn.cpp
index baab1cfa3e03166fba05b0dacf972f010ff1d8ca..df7261eefcfcf6c854770245843f1d3ca125baee 100644 (file)
@@ -551,7 +551,7 @@ void wxFrameBase::SetMenuBar(wxMenuBar *menubar)
     this->AttachMenuBar(menubar);
 }
 
-const wxMenuItem *wxFrameBase::FindItemInMenuBar(int menuId) const
+wxMenuItem *wxFrameBase::FindItemInMenuBar(int menuId) const
 {
     const wxMenuBar * const menuBar = GetMenuBar();