From cf9df19136f54197a2f074b69bbb85029591255d Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Mon, 22 Mar 2004 17:47:50 +0000 Subject: [PATCH] removed wxMotif::wxMenuItem::DeleteSubMenu() git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26294 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- docs/changes.txt | 4 ++++ docs/latex/wx/menuitem.tex | 6 ------ include/wx/motif/menuitem.h | 2 -- src/motif/menuitem.cpp | 12 ------------ 4 files changed, 4 insertions(+), 20 deletions(-) diff --git a/docs/changes.txt b/docs/changes.txt index 95a5a05651..de361734a9 100644 --- a/docs/changes.txt +++ b/docs/changes.txt @@ -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) diff --git a/docs/latex/wx/menuitem.tex b/docs/latex/wx/menuitem.tex index 1484e46c9b..47fe4f7d64 100644 --- a/docs/latex/wx/menuitem.tex +++ b/docs/latex/wx/menuitem.tex @@ -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}} diff --git a/include/wx/motif/menuitem.h b/include/wx/motif/menuitem.h index 9ef377a38c..2a6cbe3cc8 100644 --- a/include/wx/motif/menuitem.h +++ b/include/wx/motif/menuitem.h @@ -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); diff --git a/src/motif/menuitem.cpp b/src/motif/menuitem.cpp index b2cd3c4496..e0e9cb9a52 100644 --- a/src/motif/menuitem.cpp +++ b/src/motif/menuitem.cpp @@ -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 // ----------------- -- 2.45.2