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:
@@ -93,6 +93,10 @@ wxMSW:
|
|||||||
- wxRegConf couldn't read global settings without admin privileges and didn't
|
- wxRegConf couldn't read global settings without admin privileges and didn't
|
||||||
even try to do it by default -- now it does
|
even try to do it by default -- now it does
|
||||||
|
|
||||||
|
wxMotif:
|
||||||
|
|
||||||
|
- removed wxMenuItem::DeleteSubMenu()
|
||||||
|
|
||||||
wxHTML:
|
wxHTML:
|
||||||
|
|
||||||
- improved tables and lists layout algorithms (Tim Kosse)
|
- improved tables and lists layout algorithms (Tim Kosse)
|
||||||
|
@@ -59,12 +59,6 @@ Destructor.
|
|||||||
|
|
||||||
Checks or unchecks the menu item.
|
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}
|
\membersection{wxMenuItem::Enable}\label{wxmenuitemenable}
|
||||||
|
|
||||||
\func{void}{Enable}{\param{bool}{ enable}}
|
\func{void}{Enable}{\param{bool}{ enable}}
|
||||||
|
@@ -47,8 +47,6 @@ public:
|
|||||||
virtual void SetBitmap(const wxBitmap& bitmap) { m_bitmap = bitmap; }
|
virtual void SetBitmap(const wxBitmap& bitmap) { m_bitmap = bitmap; }
|
||||||
virtual const wxBitmap& GetBitmap() const { return m_bitmap; }
|
virtual const wxBitmap& GetBitmap() const { return m_bitmap; }
|
||||||
|
|
||||||
void DeleteSubMenu();
|
|
||||||
|
|
||||||
// implementation from now on
|
// implementation from now on
|
||||||
void CreateItem (WXWidget menu, wxMenuBar * menuBar, wxMenu * topMenu);
|
void CreateItem (WXWidget menu, wxMenuBar * menuBar, wxMenu * topMenu);
|
||||||
void DestroyItem(bool full);
|
void DestroyItem(bool full);
|
||||||
|
@@ -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
|
// change item state
|
||||||
// -----------------
|
// -----------------
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user