removed wxMotif::wxMenuItem::DeleteSubMenu()

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26294 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2004-03-22 17:47:50 +00:00
parent e0ae1a0ae9
commit cf9df19136
4 changed files with 4 additions and 20 deletions

View File

@ -93,6 +93,10 @@ wxMSW:
- 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)

View File

@ -59,12 +59,6 @@ Destructor.
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}}

View File

@ -47,8 +47,6 @@ public:
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);

View File

@ -89,18 +89,6 @@ wxMenuItem::~wxMenuItem()
{
}
// misc
// ----
// delete the sub menu
void wxMenuItem::DeleteSubMenu()
{
wxASSERT( m_subMenu != NULL );
delete m_subMenu;
m_subMenu = NULL;
}
// change item state
// -----------------