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:
parent
fd128b0c3a
commit
15a2076a46
@ -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 )
|
||||
|
@ -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 )
|
||||
|
Loading…
Reference in New Issue
Block a user