destructor for wxMenu deletes menu now

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3151 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Karsten Ballüder 1999-07-26 15:49:28 +00:00
parent fd128b0c3a
commit 15a2076a46
2 changed files with 6 additions and 2 deletions

View File

@ -683,7 +683,9 @@ wxMenu::Init( const wxString& title,
wxMenu::~wxMenu()
{
/* how do we delete an item-factory ? */
/* how do we delete an item-factory ? */
gtk_widget_destroy( m_menu );
}
void wxMenu::SetTitle( const wxString& title )

View File

@ -683,7 +683,9 @@ wxMenu::Init( const wxString& title,
wxMenu::~wxMenu()
{
/* how do we delete an item-factory ? */
/* how do we delete an item-factory ? */
gtk_widget_destroy( m_menu );
}
void wxMenu::SetTitle( const wxString& title )