git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26294
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
- wxRegConf couldn't read global settings without admin privileges and didn't
even try to do it by default -- now it does
+wxMotif:
+
+- removed wxMenuItem::DeleteSubMenu()
+
wxHTML:
- improved tables and lists layout algorithms (Tim Kosse)
Checks or unchecks the menu item.
-\membersection{wxMenuItem::DeleteSubMenu}\label{wxmenuitemdeletesubmenu}
-
-\func{void}{DeleteSubMenu}{\void}
-
-Deletes the submenu, if any.
-
\membersection{wxMenuItem::Enable}\label{wxmenuitemenable}
\func{void}{Enable}{\param{bool}{ enable}}
virtual void SetBitmap(const wxBitmap& bitmap) { m_bitmap = bitmap; }
virtual const wxBitmap& GetBitmap() const { return m_bitmap; }
- void DeleteSubMenu();
-
// implementation from now on
void CreateItem (WXWidget menu, wxMenuBar * menuBar, wxMenu * topMenu);
void DestroyItem(bool full);
{
}
-// misc
-// ----
-
-// delete the sub menu
-void wxMenuItem::DeleteSubMenu()
-{
- wxASSERT( m_subMenu != NULL );
-
- delete m_subMenu;
- m_subMenu = NULL;
-}
-
// change item state
// -----------------