mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-04 19:10:09 +01:00
Fixup flatmenu memory fix
This commit is contained in:
@@ -5358,8 +5358,10 @@ class FlatMenu(FlatMenuBase):
|
||||
|
||||
|
||||
def Destroy(self, *args, **kwargs):
|
||||
try:
|
||||
self.Clear()
|
||||
super().Destroy(*args, **kwargs)
|
||||
finally:
|
||||
return super().Destroy(*args, **kwargs)
|
||||
|
||||
|
||||
def SetMenuBar(self, mb):
|
||||
|
||||
Reference in New Issue
Block a user