mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-06 20:10:08 +01:00
- prevent "wrapped C/C++ object of type MSWComboTreeBox has
been deleted"
This commit is contained in:
@@ -818,7 +818,7 @@ class MSWComboTreeBox(NativeComboTreeBox):
|
||||
return events
|
||||
|
||||
def OnSelectionChangedInTree(self, event):
|
||||
if self.IsBeingDeleted():
|
||||
if not self:
|
||||
return
|
||||
item = event.GetItem()
|
||||
if item:
|
||||
|
||||
Reference in New Issue
Block a user