Commit 50c155bf authored by Gildas Bazin's avatar Gildas Bazin

* modules/gui/wxwindows/menus.cpp: fixed segfault.

parent 50c479da
...@@ -537,7 +537,7 @@ static void RecursiveDestroy( wxMenu *menu ) ...@@ -537,7 +537,7 @@ static void RecursiveDestroy( wxMenu *menu )
{ {
RecursiveDestroy( submenu ); RecursiveDestroy( submenu );
} }
menu->Destroy( item ); menu->Delete( item );
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment